[Python-Dev] Issue #11051: system calls per import
"Martin v. Löwis"
martin at v.loewis.de
Sun Jan 30 20:43:57 CET 2011
Am 30.01.2011 17:54, schrieb Alexander Belopolsky:
> On Sun, Jan 30, 2011 at 11:35 AM, Victor Stinner
> <victor.stinner at haypocalc.com> wrote:
>> We should find a compromise between speed (limit the number of system
>> calls) and the usability of Python modules.
> Do you have measurements that show python spending significant time on
> failing open calls?
No; past measurements always showed that this is insignificant, probably
thanks to operating system caching the relevant directory blocks (so
it doesn't really matter whether you make one or ten lookups per
directory; my guess is that it matters more if you look into ten
directories instead of one).
More information about the Python-Dev