| ▲ | zamazan4ik 3 hours ago | |
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. | ||
| ▲ | woodruffw 3 hours ago | parent [-] | |
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. | ||