This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Use custom hash function with bcache
On Tue, Aug 17, 2010 at 01:01:46PM -0400, sami wagiaalla wrote:
> Hmm... this is probably a separate patch, but how about this:
> symbol_set_names sets the mangled and demangled names we need at
> least the mangled name to find out wether there is already a name
> version in the bcache. So maybe we could only set the mangled name,
> check the bcache and only set the demangled name after we have
> consulted the bcache. This only works of course if we ignore the
> demangled name as is in this patch (Do you agree that this is OK btw
> ?).
I think it'll be OK.
As for SYMBOL_SET_NAMES, I worry that will lose the optimization we
got by doing them both at once; I don't remember how it works (it's
been five years), but it made a big difference to startup time.
--
Daniel Jacobowitz
CodeSourcery