]> git.ipfire.org Git - thirdparty/coreutils.git/commit
du: increase the initial dev-inode set size
authorJim Meyering <meyering@redhat.com>
Fri, 4 Jun 2010 13:30:47 +0000 (15:30 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 4 Jul 2010 09:15:48 +0000 (11:15 +0200)
commit98d48bb0e9b771d95ee2cc2f57e73e1750e465cc
tree02ef7701eeb2ea1432abeb67dc9b03980bf1e40a
parent4cb826802413516852a89739454a73c7a6ad0bd8
du: increase the initial dev-inode set size

* src/du.c (INITIAL_DI_SET_SIZE): Increase to the prime just under
1024.  This gives a speed-up of about 2% when processing a tree
containing 100,000 files, each with a link count greater than 1,
all pointing to files in some other tree.
src/du.c