GNU bug report logs -
#6524
du now uses less than half as much memory, sometimes
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Sun, 27 Jun 2010 22:10:02 UTC
Severity: normal
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 27/06/10 23:09, Jim Meyering wrote:
> FYI,
> This is just a preliminary heads-up. At least one detail must be
> addressed before I push: I haven't written justification for the
> change to hash.c (I confess that I don't remember -- parts of this
> change date back to Dec 2008 ;-)
I tried to test the speed of this compared to the original,
but got a consistent abort() after doing:
cd /other/dev/gcc
cp -al gcc-4.5.0 gcc-4.5.0.hl
cd ~/git/coreutils
./src/du -hs /other/dev/gcc
Setting breakpoint at hash.c:1077 is just before it calls abort()
hash_find_entry (table=0x8060ac8, entry=0x810201dd, bucket_head=0xbfffef9c, delete=false) at hash.c:788
di_ent_compare (x=0x810201dd, y=0x81fc7a95) == true
shout if you need anything else.
cheers,
Pádraig.
This bug report was last modified 14 years and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.