diff options
| author | Keith Randall <khr@golang.org> | 2024-11-08 17:17:15 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2024-11-18 18:28:01 +0000 |
| commit | d4b0bd28eef0a212930fb196230171a9f11e5ec4 (patch) | |
| tree | b665f6ad604bf3b2926d71a99175f797937225f5 /src/runtime/stack.go | |
| parent | bcdaac63965473ce315681a7af7e169b741a01e1 (diff) | |
| download | go-d4b0bd28eef0a212930fb196230171a9f11e5ec4.tar.xz | |
internal/runtime/maps: don't copy indirect key/elem when growing maps
We can reuse the same indirect storage when growing, so we don't
need an additional allocation.
Change-Id: I57adb406becfbec648188ec66f4bb2e94d4b9cab
Reviewed-on: https://go-review.googlesource.com/c/go/+/625902
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
