* 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).