cmd/compile: inline-able function with named results performs worse #48507
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
What did you expect to see?
No performance difference
What did you see instead?
The named reult version is slower than the anonymous result version.
It looks this is related to code inlining.
The text was updated successfully, but these errors were encountered: