WHY is python slow?

Thomas Wouters thomas at xs4all.net
Thu Jun 7 08:37:36 EDT 2001


On Thu, Jun 07, 2001 at 07:34:32PM +0700, Steven Haryanto wrote:

> Btw, I believe, for one thing, Python's (I last tried with 1.5.2)
> startup time is significantly higher than that of Perl.

That's because Python sets up a nice environment for you, with locale and
nicely reachable site-packages such. Try running python with '-S', which
skips the loading of site.py, and compare again.

-- 
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