diff options
| author | Than McIntosh <thanm@google.com> | 2023-11-06 14:18:43 -0500 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2023-11-06 20:59:48 +0000 |
| commit | 17211b64b6a601ff14cb714362c054434aa86f5a (patch) | |
| tree | de1e3e08dab01f0acda0d1000103cf7b50660ffc /src/net/http | |
| parent | 36f3ec59122136d5664fd4c5524b8d0370edffdf (diff) | |
| download | go-17211b64b6a601ff14cb714362c054434aa86f5a.tar.xz | |
cmd/link/internal/loadpe: allocate comdat definitions map lazily
Switch the "comdatDefinitions" map to lazy allocation; we only need it
for loading PE objects, no point doing an allocation during package
init if we don't need it.
Change-Id: Ie33f2c56e964f35ac2e137840ac021cfaaa897c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/540255
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
