logoalt Hacker News

zamazan4ik • today at 1:20 PM • 1 reply • view on HN

Or just try to avoid all of these optimization guesses by using Profile-Guided Optimization (PGO), that inserts/deletes all inlines based on actual application runtime profile.


Replies

woodruffw • today at 1:40 PM

The codebase in question (uv) uses PGO already. I suspect there isn’t a general way to guarantee that PGO ensures that only the “right” things get inlined.