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 enkore
Recipients enkore
Date 2016-10-30.20:02:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477857759.23.0.231777495226.issue28564@psf.upfronthosting.co.za>
In-reply-to
Content
The use of os.listdir severely limits the speed of this function on
anything except solid-state drives.

Using the new-in-Python 3.5 os.scandir should eliminate this
bottleneck.
History
Date User Action Args
2016-10-30 20:02:39enkoresetrecipients: + enkore
2016-10-30 20:02:39enkoresetmessageid: <1477857759.23.0.231777495226.issue28564@psf.upfronthosting.co.za>
2016-10-30 20:02:39enkorelinkissue28564 messages
2016-10-30 20:02:39enkorecreate