Regular Expressions - Python vs Perl

codecraig codecraig at gmail.com
Thu Apr 21 12:54:41 EDT 2005


I found some benchmarking (perhaps simple) but search for "The Great
Computer language shootout" ....look at the original shootout and the
win32 one.

Thomas:
"I doubt the total execution time for all the RegEx queries you ever
ran took
as much time as you just wasted on your little experiment. " .....no
need to be angry.  I don't have some "little experiment", but thanks
for being concerned about me wasting my time.

I do understand that python is certainly easier to read, no doubt.  I
was just doing some research to find out about speed/performance
between the two.

But thanks for pointing out, again, that Pyton is easier to read.
(let's just not forget that python is great for other things other than
just readability.)




More information about the Python-list mailing list