This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Speed up get_special_section
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 7 May 2005 10:20:17 +0930
- Subject: Re: PATCH: Speed up get_special_section
- References: <20050506225350.GA24522@lucon.org>
On Fri, May 06, 2005 at 03:53:50PM -0700, H. J. Lu wrote:
> get_special_section scans the whole array for a match. This patch
> reduces the number of searches.
Have you abandoned your idea of not calling get_special_section on
sections loaded from an input file? (Or did the profiling results
shown include that optimization as well? It's a little too good to
be true.)
--
Alan Modra
IBM OzLabs - Linux Technology Centre