This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time performance
On Mon, May 20, 2002 at 02:34:12PM +0100, Richard Earnshaw wrote:
> Here's some more relatively low hanging fruit to pick. bitmap_find_bit is
> probably the most-called function in the compiler (ok, it is inlined, but
> it is still effectively called). This cuts the execution time of the
> function by about 45% (according to gprof). It simply notes that if head->
> current is the element we want, we don't have to go and do a lot of
> grunging to reposition the current element to itself!
This is entirely correct. Are you going to check it in?