Regular Expressions - Python vs Perl

Thomas Bartkus tom at dtsam.com
Thu Apr 21 13:13:48 EDT 2005


"codecraig" <codecraig at gmail.com> wrote in message
news:1114102481.963973.252500 at g14g2000cwa.googlegroups.com...
> 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.)

Your quite welcome.
BUT I didn't say a word about readability.

I claimed it was easier to *write*.
Thomas Bartkus





More information about the Python-list mailing list