Performance when working directory is slow network drive

Sean Reifschneider jafo at tummy.com
Thu Mar 1 17:12:43 EST 2001


On Fri, Mar 02, 2001 at 10:01:28AM +1300, Mark Hadfield wrote:
>1. Why having the current directory in the search path affects the import
>time for the os module much more than it does for other modules I tested
>(like string). Is this because os is a package?

It affects it because if you do an import of "os", it follows the path trying
to find it.

Sean
-- 
 How does a girl like you get to be a girl like you?
                 -- _North_by_Northwest_
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the Python-list mailing list