[Python-ideas] BetterWalk, a better and faster os.walk() for Python

Antoine Pitrou solipsis at pitrou.net
Thu Nov 22 20:43:32 CET 2012

On Fri, 23 Nov 2012 00:39:42 +1300
Ben Hoyt <benhoyt at gmail.com> wrote:
> Still, if it's a significant win for Windows and OS X users, it's a good thing.
> In any case, I'd love it if folks could run the benchmark on their
> system (with and without -s) and comment further on the idea and API.

On Mageia Linux 1, I had the following results:
- Python 2.7: 0.7x as fast
- Python 3.2: 1.1x as fast
- Python 3.3: 1.2x as fast

The -s flag didn't make a difference.

Do note that the benchmark is very fast - around ~40 ms for a walk.



More information about the Python-ideas mailing list