This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Sigh. Inlining heuristics.


    Of course if you really make a "huge function", it is likely to have
    poorer performance due to icache pressure.

That strongly depends on the loop structure of that function.  If we have
a function that's straight-line code and calls, say, ten functions that
aren't called elsewhere, inlining those calls, no matter what the sizes of
the functions, is a performance win, though admittedly probably a small one.


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