This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: dynamically resize section merging hash tables.
- From: Andi Kleen <andi at firstfloor dot org>
- To: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- Cc: binutils at sourceware dot org
- Date: 19 Sep 2007 14:02:40 +0200
- Subject: Re: PATCH: dynamically resize section merging hash tables.
- References: <498552560709181541t20464694o39617ab933332895@mail.gmail.com>
"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