From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Jim Blandy Cc: Jimmy Guo , gdb-patches@sourceware.cygnus.com Subject: Re: (patch) hpjyg09: bcache optimizations Date: Thu, 16 Dec 1999 00:26:00 -0000 Message-id: <4657.945331919@upchuck> References: X-SW-Source: 1999-q4/msg00400.html 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