4 ms·
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
by smitherfield 9y ago
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).
- rurban 9y agoNo, 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.