How Fast Does Python Run?

Aahz Maruch aahz at netcom.com
Thu Jun 15 13:06:14 EDT 2000


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



More information about the Python-list mailing list