This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | benhoyt |
|---|---|
| Recipients | Trundle, abacabadabacaba, benhoyt, christian.heimes, eric.araujo, ethan.furman, giampaolo.rodola, gregory.p.smith, josh.r, loewis, nailor, ncoghlan, neologix, nvetoshkin, pitrou, rhettinger, socketpair, terry.reedy, tim.golden, torsten, twouters, vstinner |
| Date | 2014年06月26日.20:45:19 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1403815520.22.0.942690741932.issue11406@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Raymond, there are very compelling timings/benchmarks for this -- not so much the original issue here (generator vs list, that's not really an issue) but having a scandir() function that returns the stat-like info from the OS so you don't need extra stat calls. This speeds up os.walk() by 7-20 times on Windows and 4-5 times on Linux. See more at: https://github.com/benhoyt/scandir#benchmarks I've written a draft PEP that I've sent to the PEP editors (if you're interested, it's at https://github.com/benhoyt/scandir/blob/master/PEP.txt). If any of the PEP editors are listening here ... would love some feedback on that at some stage. :-) Victor -- development has started outside the stdlib here: https://github.com/benhoyt/scandir and PyPI module here: https://pypi.python.org/pypi/scandir Both are being used by various people. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014年06月26日 20:45:20 | benhoyt | set | recipients: + benhoyt, loewis, twouters, rhettinger, terry.reedy, gregory.p.smith, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, eric.araujo, Trundle, torsten, nvetoshkin, neologix, abacabadabacaba, ethan.furman, nailor, socketpair, josh.r |
| 2014年06月26日 20:45:20 | benhoyt | set | messageid: <1403815520.22.0.942690741932.issue11406@psf.upfronthosting.co.za> |
| 2014年06月26日 20:45:20 | benhoyt | link | issue11406 messages |
| 2014年06月26日 20:45:19 | benhoyt | create | |