]> Cypherpunks repositories - gostls13.git/commit
maps: implement faster clone
authorKeith Randall <khr@golang.org>
Fri, 21 Mar 2025 23:07:20 +0000 (16:07 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 27 Mar 2025 21:21:20 +0000 (14:21 -0700)
commita645bc5eb9b9fabc024c076140013a8ad87dded5
tree70490f7e803e6a1926e264da0cc260b85bda4fb0
parent6722c008c139a8abfe841275d12a601d7ea513a1
maps: implement faster clone

            │     base     │             experiment              │
            │    sec/op    │   sec/op     vs base                │
MapClone-24   66.802m ± 7%   3.348m ± 2%  -94.99% (p=0.000 n=10)

Fixes #70836

Change-Id: I9e192b1ee82e18f5580ff18918307042a337fdcc
Reviewed-on: https://go-review.googlesource.com/c/go/+/660175
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
src/internal/runtime/maps/group.go
src/internal/runtime/maps/map.go
src/internal/runtime/maps/table.go
src/runtime/map_swiss.go