This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] ld speedup 1/3 (suffix merge)
- From: Lars Knoll <lars at trolltech dot com>
- To: davidm at hpl dot hp dot com, David Mosberger <davidm at napali dot hpl dot hp dot com>, Michael Matz <matz at suse dot de>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, <binutils at sources dot redhat dot com>
- Date: Wed, 10 Sep 2003 11:02:14 +0200
- Subject: Re: [patch] ld speedup 1/3 (suffix merge)
- Organization: Trolltech
- References: <20030909150800 dot GU1443 at bubble dot modra dot org> <200309100654.h8A6suCA010653@napali.hpl.hp.com> <200309101036.01331.lars@trolltech.com>
> > The resulting profile is still very lopsided (30% of time is spent in
> > sec_merge_hash_lookup), so there may be more opportunities to speed
> > things up, but your patch alone helps a great deal.
>
> That's the second patch Michael and I did on the KDE meeting. We'll post a
> patch for that as well.
Sorry, should finish my coffee before writing emails.
We didn't do anything about this one (although we saw the problem) as it would
require some bigger changes in the internals of binutils to avoid the
repeated calculations of the elf hash value (ie. calculate it once and store
it along with the string).
Lars