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

Stefan Behnel stefan_ml at behnel.de
Fri Nov 23 08:05:59 CET 2012


Ben Hoyt, 22.11.2012 23:43:
> I'll need to rewrite the Linux version in C (to
> match os.listdir) before these results are really meaningful.

Start by dropping your code into Cython for now, that allows you to call
the C function directly. Should be a quicker way than rewriting parts of it
in C.

Stefan





More information about the Python-ideas mailing list