alt.hn

6/4/2026 at 12:27:58 PM

A Survey of Inlining Heuristics

https://bernsteinbear.com/blog/inlining-heuristics/

by ibobev

6/9/2026 at 5:57:31 AM

I know it is old, but the classic is a classic for reasons. It is criminal this survey does not include the venerable Secrets of the Glasgow Haskell Compiler inliner by Simon Peyton Jones et al.

by sanxiyn

6/9/2026 at 7:07:02 AM

Please feel free to open a PR. I'm a bit AFK

by tekknolagi

6/9/2026 at 1:44:31 PM

Really nice write-up. After reading through the survey, I’m curious if there’s any evidence that more complex heuristics (ML-based or multi-stage policies) actually outperform simpler budget + size + hotness models in production JITs, or if they mainly help at the margins.

by oakinnagbe