28 Nov
2016
28 Nov
'16
9:28 a.m.
On Mon, Nov 28, 2016 at 9:14 AM, Nathaniel Smith <njs@pobox.com> wrote:
Also note that in Guido's option 2, we only incur the extra fstat calls if the import would otherwise fail. In option 1, there are extra fstat calls (and thus disk seeks etc.) adding some overhead to every import.
Oh, that's an important consideration! Yes, adding .missing.py to the list of extensions would cause extra stat() calls and potentially slow down every import. -- --Guido van Rossum (python.org/~guido)