]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/maps: cleanup seed usage
authorMichael Pratt <mpratt@google.com>
Mon, 23 Sep 2024 18:46:09 +0000 (14:46 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 30 Oct 2024 15:20:52 +0000 (15:20 +0000)
commitd95b7980aa1ef94983983cd98e005947e83d562d
tree89fa94d8c423f82a11b83c761fb4b3a0d867b247
parentf782e161623e68e25cc3a81e55dac887afd301d5
internal/runtime/maps: cleanup seed usage

Keep only a single seed; initialize it; and reset it when the map is
empty.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: Icc231f70957337a2d0dcd9c7daf9bd3cb4354d71
Reviewed-on: https://go-review.googlesource.com/c/go/+/616466
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/reflectdata/map_swiss.go
src/internal/runtime/maps/map.go
src/internal/runtime/maps/runtime_fast32_swiss.go
src/internal/runtime/maps/runtime_fast64_swiss.go
src/internal/runtime/maps/runtime_faststr_swiss.go
src/internal/runtime/maps/runtime_swiss.go
src/internal/runtime/maps/table.go
src/internal/runtime/maps/table_debug.go