Static slices generate two symbols, one for the slice header and one for the backing
array. These could be combined into a single symbol, laid out with the slice header
followed by the backing array. This would reduce binary size, particularly for the
This does not make sense to do unless issue #7599 is also done, otherwise the backing
array will be needlessly loaded during init.
See https://golang.org/cl/78870047/ for more discussion.
Something similar could probably profitably be done for strings and string headers,
although there is a different approach under discussion at issue #7384.
The text was updated successfully, but these errors were encountered: