3 ms·
This seems to miss the primary purpose of inlining, which is to enable further optimizations on the combined call site/inlined code. Inlining is the ultimate o
by twoodfin 4y ago
This seems to miss the primary purpose of inlining, which is to enable further optimizations on the combined call site/inlined code.
Inlining is the ultimate optimization, but only as a foundation for others: Modern CPUs have rendered function calls (even predictable virtual ones) nearly free.