[New-bugs-announce] [issue15200] Faster os.walk

Serhiy Storchaka report at bugs.python.org
Wed Jun 27 10:11:22 CEST 2012


New submission from Serhiy Storchaka <storchaka at gmail.com>:

Using os.fwalk (if it is available) we can make os.walk more fast.

Microbenchmark:
./python -m timeit -s "from os import walk"  "for x in walk('Lib'): pass"

Results:
Vanilla: 112 msec
Patched: 90.5 msec

----------
components: Library (Lib)
files: faster_walk.patch
keywords: patch
messages: 164127
nosy: storchaka
priority: normal
severity: normal
status: open
title: Faster os.walk
type: performance
versions: Python 3.4
Added file: http://bugs.python.org/file26175/faster_walk.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15200>
_______________________________________


More information about the New-bugs-announce mailing list