]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: fix preallocation for function names
authorJeremy Faller <jeremy@golang.org>
Thu, 6 Aug 2020 13:54:54 +0000 (09:54 -0400)
committerJeremy Faller <jeremy@golang.org>
Fri, 7 Aug 2020 15:34:29 +0000 (15:34 +0000)
commit64fdc8b47a77d090def16d76ddf3522fac035a1e
tree06e0565a54a03f2e07eed12598f1d1891eada09b
parentb85033d153835c45cd4ee51046a34c1dac52f0e0
[dev.link] cmd/link: fix preallocation for function names

This preallocation is way too large, and showed up in the metrics. Just
remove it all together.

Change-Id: Ib4646b63cd0a903656ada244f15e977cde2a2c4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/247177
Run-TryBot: Jeremy Faller <jeremy@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/link/internal/ld/pcln.go