Re: Comparison of Euphoria vs Perl, Python, PHP

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Not so good.  Now, I didn't do anything special to try to optimize.  I 
> just used map.e and regex.e.  I suspect that some of the slow down may
> be the conversion that has to happen between a euphoria sequence, and
> the C-string before it gets passed to PCRE.  Also, the native perl hash
> and python dictionaries probably give them an edge.
>  

I wonder how much difference it would be if we enabled/provided the
pcre_optimize function, which allows pcre to once look at the regular expression
and optimize it instead of doing it on every search.

But I suspect your right. I'm going to do a little test of python's dict vs our
map to see.

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu