]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/maps: remove type fields
authorMichael Pratt <mpratt@google.com>
Wed, 21 Aug 2024 20:17:16 +0000 (16:17 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 29 Oct 2024 18:54:17 +0000 (18:54 +0000)
commited035af7b7d7c1cd2e6f852e22a9b04fc2a2cc65
tree43fd16f1c843197c59be555e6992324ca7c1f0da
parentcf967172097948a57d2e7cd037db87eaf261ec44
internal/runtime/maps: remove type fields

Rather than storing the same type pointer in multiple places, just pass
it around.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap
Change-Id: Ia6c74805c7a44125ae473177b317f16c6688e6de
Reviewed-on: https://go-review.googlesource.com/c/go/+/622377
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/runtime/maps/export_test.go
src/internal/runtime/maps/fuzz_test.go
src/internal/runtime/maps/group.go
src/internal/runtime/maps/map.go
src/internal/runtime/maps/map_test.go
src/internal/runtime/maps/table.go
src/internal/runtime/maps/table_debug.go
src/runtime/map_swiss.go
src/runtime/map_swiss_test.go