Newbie question: files..

Fredrik Lundh fredrik at pythonware.com
Sun Oct 10 09:51:49 EDT 1999


Sonny Parlin <sparlin at openpro.org> wrote:
> That seems kind of odd (that Python would be more slower than Perl) they
> are both scripting languages, and they are both coded in C underneath,
> anymore on this?

age, different execution models, different
approach to typing, etc, etc.

as for reading text files, it's a well-known
fact that Perl is sometimes *faster* than C:

    http://www.deja.com/getdoc.xp?AN=505288860

unfortunately, Python's file object is still
layered on top of C's stdio.  but that may
of course change some day...

for more info on other speed issues, skip
over to http://www.python.org/search/
and search for "is perl faster than python"
(and similar phrases) in the newsgroup
archives.

</F>





More information about the Python-list mailing list