aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/v2/example_orderedobject_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2025-01-06 21:53:22 -0800
committerGopher Robot <gobot@golang.org>2025-04-17 09:45:34 -0700
commit05ed8a00e07e93fd40cf8269bdf16d6d2b34740d (patch)
tree3454228c270246d81e89e7781630d720046959e1 /src/encoding/json/v2/example_orderedobject_test.go
parent7b263895f7dbe81ddd7c0fc399e6a9ae6fe2f5bf (diff)
downloadgo-05ed8a00e07e93fd40cf8269bdf16d6d2b34740d.tar.xz
internal/runtime/maps: prune tombstones in maps before growing
Before growing, if there are lots of tombstones try to remove them. If we can remove enough, we can continue at the given size for a while longer. Fixes #70886 Change-Id: I71e0d873ae118bb35798314ec25e78eaa5340d73 Reviewed-on: https://go-review.googlesource.com/c/go/+/640955 Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/json/v2/example_orderedobject_test.go')
0 files changed, 0 insertions, 0 deletions