Message257653
The globbing functionality in pathlib (Path.glob() and Path.rglob()) might benefit from using the new optimized os.scandir() interface. It currently just uses os.listdir(). The Path.iterdir() method might also benefit (though less so).
There's also a sideways connection with http://bugs.python.org/issue26031 (adding an optional stat cache) -- the cache could possibly keep the DirEntry objects and use their (hopefully cached) attributes. This is more speculative though (and what if the platform's DirEntry doesn't cache?) |
|
Date |
User |
Action |
Args |
2016-01-06 22:55:27 | gvanrossum | set | recipients:
+ gvanrossum |
2016-01-06 22:55:27 | gvanrossum | set | messageid: <1452120927.04.0.31788168865.issue26032@psf.upfronthosting.co.za> |
2016-01-06 22:55:26 | gvanrossum | link | issue26032 messages |
2016-01-06 22:55:26 | gvanrossum | create | |
|