]> Cypherpunks repositories - gostls13.git/commit
cmd/compile,runtime: add indirect key/elem to swissmap
authorMichael Pratt <mpratt@google.com>
Tue, 17 Sep 2024 22:00:21 +0000 (18:00 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 30 Oct 2024 15:11:27 +0000 (15:11 +0000)
commitb5fec2cf54ff9f7b562cb904a2a025266aec2763
treebe774c2cef2df29292da32aa083577c207fe2500
parent2220fd36368c96da3dd833bdc2bbd13be291216a
cmd/compile,runtime: add indirect key/elem to swissmap

We use the same heuristics as existing maps.

For #54766.

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