[OLPC-devel] Re: pygtk performance issue

Marco Pesenti Gritti mpg at redhat.com
Wed Sep 6 12:19:57 EDT 2006


Mitch Bradley wrote:
> As an example of what one might do:  The search path resolution 
> mechanism could notice, while looking for file X in a list of 
> directories, that some of those directories don't exist.  It could 
> then prune those entries from the path list.
>

 From 2.5 what's new:

Importing now caches the paths tried, recording whether they exist or 
not so that the interpreter makes fewer open() and stat() calls on 
startup. (Contributed by Martin von Löwis and Georg Brandl.)

Sounds like good news ;)

Marco



More information about the Devel mailing list