A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107783.html below:

[Python-Dev] Issue #11051: system calls per import

[Python-Dev] Issue #11051: system calls per import [Python-Dev] Issue #11051: system calls per import"Martin v. Löwis" martin at v.loewis.de
Mon Jan 31 08:33:13 CET 2011
> Maybe also
> 
>    * Read and cache the directory contents and search it ourselves
>      instead of making a system call for every possible name.

I wouldn't do that - I would expect that this is actually slower than
making the system calls, because the system might get away with not
reading the entire directory (whereas it will have to when we explicitly
ask for that).

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4