[PATCH RFC] faster dirstate walks

Florian Weimer fw at deneb.enyo.de
Thu Aug 25 13:47:31 CDT 2005

* Chris Mason:

> One big functional change is the results of dirstate.walk are no
> longer sorted.

You should sort anyway before calling stat because that tends to
reduce seek time with directory hashing on ext3 (this is crucial for
cold-cache performance).  Sorting by inode number is even better, but
Python probably doesn't provide it.

More information about the Mercurial mailing list