How Fast Does Python Run?

Ken Seehof kens at sightreader.com
Thu Jun 15 23:18:41 EDT 2000


Aahz Maruch wrote:

> In article <8ib1bs$1pv at autodesk.autodesk.com>,
> Akira Kiyomiya <akira.kiyomiya at autodesk.com> wrote:
> >
> >I wonder if Python runs faster than Perl.
>
> Python almost never runs "faster" than Perl.  And there are some things
> for which Perl is indisputably faster than Python (such as regular
> expressions on a text file).  Where you gain in Python, though, is that
> it's a much cleaner language, so you stand a greater chance of writing
> an efficient algorithm in the first place -- and faster algorithms are
> what get you faster programs.
> --
>                       --- Aahz (Copyright 2000 by aahz at netcom.com)
>
> Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
> Hugs and backrubs -- I break Rule 6
>
> "real love can't be explained by simplistic platitudes."  --piranha

And python will get faster.  There is no intrinsic reason for perl to be faster
than python; it's just been around longer and has been optimized more.

--
Ken Seehof
kens at sightreader.com
starship.python.net/crew/seehof
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kens.vcf
Type: text/x-vcard
Size: 343 bytes
Desc: Card for Ken Seehof
URL: <http://mail.python.org/pipermail/python-list/attachments/20000615/40218158/attachment.vcf>


More information about the Python-list mailing list