logoalt Hacker News

cogman10 • yesterday at 9:06 PM • 0 replies • view on HN

Which is why the second most important optimization of compilers is inlining. If the callee is small enough then hoisting it up into the caller can expose additional optimizations, including noticing that parameters in the caller to the callee are in fact constant.