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]

Re: Performance problem with gas


Ian Lance Taylor <ian@zembu.com> writes:

> Frags are always created in order.  So one fast check you could add is
> to check fr_line; if f1->fr_line becomes larger than f2->fr_line, then
> there is no point to looking any further.

Whoops, you have to check fr_file, too.  If fr_file is different, you
can't make any assumptions based on fr_line.

Ian


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