cmd/compile: don't copy static array in range statement #15812
Labels
early-in-cycle
A change that should be done early in the 3 month dev cycle.
NeedsFix
The path to resolution is known, but the work has not been done.
Performance
Milestone
The compiled code starts off with copying the static array to the stack, then using the stack copy to do the iteration. The static data is read-only, we could use the static data directly.
The text was updated successfully, but these errors were encountered: