[PATCH RFC] faster dirstate walks

Florian Weimer fw at deneb.enyo.de
Thu Aug 25 13:59:35 CDT 2005


* Chris Mason:

> It might make ext3 dir hashing faster, but it will make other
> filesystems slower. Sorting by inode number is better, but you can't do
> that before the stat...

In practice, most systems support the d_ino member in struct dirent,
so you can indeed sort before stat (but maybe not at the Python
level).


More information about the Mercurial mailing list