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/2001-November/018399.html below:

[Python-Dev] Caching directory files in import.c

[Python-Dev] Caching directory files in import.c [Python-Dev] Caching directory files in import.cJames C. Ahlstrom jim@interet.com
Wed, 07 Nov 2001 10:18:08 -0500
"James C. Ahlstrom" wrote:

> Looking at the code, I saw that I could do an os.listdir(path),
> and record the directory file names into the same dictionary.
> Then it would not be necessary to perform a large number of
> fopen()'s.  The same dictionary lookup is used instead.

Well, I didn't get a lot of HellNo's, so I added the code.
The new patch for import.c is now part of Patch 476047.
There are a lot of other changes too.  Please take a look.
No, it is not done yet.  Don't install it.

JimA



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