[PATCH] Use hashtab.[ch] hashtable for IA-64 loc_hash_table
Michael Matz
matz@suse.de
Thu Sep 11 22:03:00 GMT 2003
Hi,
On Thu, 11 Sep 2003, David Mosberger wrote:
> Happy to help with that: it shaved another 2 seconds out of the
> "minium kernel rebuild"!
I guess the other two patches from me don't help, do they? (Unless the
kernel uses many weak syms they shouldn't ;-) )
> So sec_merge_hash_lookup() burns 0.355 seconds on it's own, and
> another 0.117 seconds through calls to memcmp().
I'm currently working on a solution to that, which would avoid computing
the hashes of strings in the linker. This will need some more work
though, and support from GCC. I intend to extend the .debug_str section
with hashvalues for each string, which the compiler would emit already.
This would make this hotspot also go away.
Ciao,
Michael.
More information about the Binutils
mailing list