1. Regular Expressions in Standard Library

Hello...

We are currently debating as to use EuRegExp from The Archive by Christian
Cuvier or wrapping PCRE.

I am looking for input. I did a *very* simple test and it seems that EuRegExp is
about 7 times slower than PCRE wrapped in Euphoria (I used the Archive
contribution titled "Pattern Matching" by Karl Bochert). It, however, integrates
better with Euphoria, is 100% Euphoria code and therefore would not cause any
binary changes or runtime dependencies.

Does anyone have more experience with EuRegExp or PCRE?

Please give your opinion.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » topic index » view message » categorize

2. Re: Regular Expressions in Standard Library

Jeremy Cowgar wrote:
> 
> Hello...
> 
> We are currently debating as to use EuRegExp from The Archive by Christian
> Cuvier
> or wrapping PCRE.
> 
> I am looking for input. I did a *very* simple test and it seems that EuRegExp
> is about 7 times slower than PCRE wrapped in Euphoria (I used the Archive
> contribution
> titled "Pattern Matching" by Karl Bochert). It, however, integrates better
> with
> Euphoria, is 100% Euphoria code and therefore would not cause any binary
> changes
> or runtime dependencies.
> 
> Does anyone have more experience with EuRegExp or PCRE?
> 
> Please give your opinion.
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

The code in EuRegExp isn't much optmised, so there is ample room for
improvement. I'd be happy if it becomes 3x slower only.

This is very old code, and the amount of feedback I got was so limited that I
hardly have worked on it for years. When win32lib 0.70.4a is released, I can look
into it and start speeding things up.

CChris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu