This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (patch) hpjyg09: bcache optimizations



  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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]