Closed dr2chase closed 2 hours ago
Related Code Changes
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Thanks. It looks like both of those CLs made it in before the freeze started, so a freeze exception isn't needed.
Go version
go version devel go1.24-326a0ef883 Thu Nov 21 13:23:03 2024 -0500 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Tried to get my CLs mailed, tested, and reviewed before the freeze. They are:
first: https://go.dev/cl/630595 cmd/compile: refactor inline interleaving
second: https://go.dev/cl/630696 cmd/compile: use very high budget for once-called closures
They both pass trybots. I've also benchmarked binary text size and bent performance, and they do no harm.
The purpose of the pair of CLs is to address expected rangefunc performance complaints; without aggressive inlining, memory allocation for nested rangefunc loops is somewhat likely. This change recognizes closures that are only called once and gives them a very large inlining budget.
What did you see happen?
Looks like that will be hard. The most apt reviewers are oversubscribed and may not get to them in time.
What did you expect to see?
A freeze exception, if I could.