News for hackers. Stuff that matters.
Re:Forced Inlining Might Be Slow by smitherfield on Monday October 09, 2017 @02:54PM (#15436448)
True, but less so now than a decade ago; if it's a hot path (which anything `__forceinline` presumably is, assuming the author has a reasonable understanding of optimization) inlining is usually going to be a performance win, and often a cache/code size win as well (optimizing the inlined code, avoiding register spills).
Re:Forced Inlining Might Be Slow by rurban on Monday October 09, 2017 @07:21PM (#15438208)
No, still. If it's an unlikely branch and pretty big, better put it into an extra function call if possible. icache pollution is still an issue.