[Python-Dev] os.walk() is going to be *fast* with scandir

Larry Hastings larry at hastings.org
Sun Aug 10 08:11:41 CEST 2014

On 08/09/2014 10:40 PM, Robert Collins wrote:
> A small tip from my bzr days - cd into the directory before scanning it

I doubt that's permissible for a library function like os.scandir().

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140809/17a62ab2/attachment.html>

More information about the Python-Dev mailing list