Cacheing sys.path rather than building it each time?
Hamish Lawson
hamish_lawson at yahoo.co.uk
Fri Apr 7 05:13:20 EDT 2000
Some overhead in Python's startup time is caused by building
sys.path. Of course you could use the -S option, but then you
don't get a proper sys.path! What about cacheing the constructed
path and a command-line option to specify use of that rather
than building it each time? Presumably you'd also need a tool to
rebuild the path when necessary - perhaps it could be invoked
automatically by the distribution tools whenever a new module
gets installed.
Hamish Lawson
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
More information about the Python-list
mailing list