It's not the cost of starting up an empty Python. It's the cost of loading the tons of stuff that every app uses.
Trust me, zip files *do* make for much speedier app startup times. It's been tested many times. --Guido On Mon, Jun 23, 2008 at 5:23 AM, Antoine <[EMAIL PROTECTED]> wrote: >> Antoine Pitrou <[EMAIL PROTECTED]> wrote: >> >> That is for a warm cache. >> >> If you drop your caches first (like this under linux) you get quite a >> different story... >> >> $ sudo sh -c 'sync; echo 3 > /proc/sys/vm/drop_caches' >> $ time python -c "" >> >> real 0m1.393s >> user 0m0.004s >> sys 0m0.004s > > But still that's only one second for the worst case where nothing is in > the filesystem cache (I suppose it would be higher under Windows). You > won't find lots of programs which launch in less than one second when none > of their dependent files are in FS cache. > >> I imagine having the stdlib in one .zip will stop lots of seeking and >> improve the first time. > > Someone would have to test it to know the extent of the improvement. > > > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com