This is the mail archive of the binutils@sourceware.org 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: dynamically resize section merging hash tables.


"Doug Kwan (Ãö®¶¼w)" <dougkwan@google.com> writes:

> This patch resizes the section merging hash tables at run-time.
> Previously, we use a fix size for all section merging hash table. That
> slows down the linker quite a big when the dealing with larger
> executables with lots of debug strings. I have seen ld spending 80% of
> the time traversing the hash tables.

Cool. I did some profiling on my builds where the linker takes long
and this hash also always ended up being on the top of the profile
list.

-Andi


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