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: Speed up get_special_section


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


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