[issue23628] See if os.scandir() could help speed up importlib

2015-03-13 Thread Brett Cannon
Brett Cannon added the comment: The answer is no. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python

[issue23628] See if os.scandir() could help speed up importlib

2015-03-10 Thread Brett Cannon
New submission from Brett Cannon: With os.scandir() now committed and implemented in C, it would be interesting to see if os.scandir() could provide any performance benefit to importlib. If finders can pass the DirEntry to loaders then some stat calls could potentially be saved at the expense