Re: Comparison of Euphoria vs Perl, Python, PHP
- Posted by Jeremy Cowgar <jeremy at c?wgar.?om> Jun 12, 2008
- 784 views
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