This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use hashtab.[ch] hashtable for IA-64 loc_hash_table


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.


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