3 ms·
It looks to me like there's some confusion here; Carmack is talking about inlining for purposes of source code management; compilers inline for purposes of perf
by mtrower 4y ago
It looks to me like there's some confusion here; Carmack is talking about inlining for purposes of source code management; compilers inline for purposes of performance optimiziation. The two seem to be getting conflated in this thread.
So GP points out that, no, unless your compiler is outputting source code (therefore changing what you see as a programmer), having it inline the function does not accomplish the goal at all.