Speed of Python vs. Perl

Thomas Wouters thomas at xs4all.net
Fri Jan 12 18:11:28 EST 2001


On Thu, Jan 11, 2001 at 09:01:28PM -0500, Tim Peters wrote:

> Like everything else, it varies by platform and configuration.

Indeed. For instance, on a typical UNIX box, fstat() (which python does
quite a few, to look for site.py and all imports and such) can be both
incredibly fast (if the directories are already in the disk cache, of which
Linux has a very good one, for instance) and terribly slow (NFS filesystems,
for instance, really suck in that.)

So, the startup time of python can vary depending on in what directory you
type it ;)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list