Comment 1 for bug 476711

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 476711] [NEW] LR should be faster when getting file stats

On Fri, 2009-11-06 at 17:33 +0000, Facundo Batista wrote:
> Public bug reported:
>
> os.listdir() + for f in that: os.stat(f) is kind of slow for a lot of
> files.
>
> We could use something like readdir to access that info directly.

For optimal access to this, use bzrlib's functions:
bzrlib.osutils._walkdirs_utf8 and

Ciao,
Rob