[issue19216] stat cache for import bootstrap
Brett Cannon
report at bugs.python.org
Fri Oct 11 03:02:39 CEST 2013
Brett Cannon added the comment:
So the 2 stat calls in the general case are superfluous, it's just a question of whether they make any performance difference. Turns out that at least on my Macbook their is no performance difference and thus not worth the cost of breaking semantics over it: http://bugs.python.org/issue18810 .
As for completely turning off stat calls during interpreter startup, that would definitely buy us something, but the question is how much and how do we make it work reliably?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19216>
_______________________________________
More information about the Python-bugs-list
mailing list