cmd/compile: unnecessary slice literal zeroing #45573
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Performance
Milestone
Keyless slice literals zero the backing array and then immediately overwrite it. https://godbolt.org/z/5bx9TPo7n
What operating system and processor architecture are you using?
linux amd64
What did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: