1
Go 1.22 inlining overhaul (docs.google.com)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

The Go compiler’s inliner has never been particularly good. It wasn’t until Go 1.12, released in 2019, that the Go compiler supported inlining more than leaf functions, and we’ve slowly chipped away at more limitations of the inliner over the years (it started inlining functions with for loops in early 2021!). Go 1.20, released in February 2023, added support for basic profile-guided inlining, the most significant change to Go’s inlining policy since 1.12.

[...]

The rest of this document lays out a set of considerations for a redesign of Go’s inlining policy.

https://docs.google.com/document/d/1a6p7-nbk5PVyM1S2tmccFrrIuGzCyzclstBtaciHxVw/edit

no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 25 Jul 2023
1 points (100.0% liked)

Go programming language discussion

1545 readers
5 users here now

founded 5 years ago
MODERATORS