This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: (patch) hpjyg09: bcache optimizations
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: (patch) hpjyg09: bcache optimizations
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 16 Dec 1999 01:11:59 -0700
- cc: Jimmy Guo <guo at cup dot hp dot com>, gdb-patches at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <npaeoskevw.fsf@zwingli.cygnus.com>you write:
> So, while I understand the impulse to just disable the bcache, because
> it's causing you trouble in your driving uses of the debugger, I think
> the better solution, for both Cygnus and HP, is to fix the data
> structure so it actually works. I would recommend:
>
[ ... ]
> - growing the hash table when the average chain length grows beyond
> a certain limit, so the time overhead remains the same as the
> problem size grows
FWIW, libiberty now includes some generic hash table capabilities, including
automatic expansion of the hash table once it hits a certain capacity.
jeff