diff options
| author | korzhao <korzhao95@gmail.com> | 2023-07-06 11:12:29 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-07-31 15:44:01 +0000 |
| commit | f024e390bb0cb124487fd75f564ef8178ccba8f4 (patch) | |
| tree | 360aa2dabdf09638247b1adacb7594f8ed7a0329 /src/runtime/stack.go | |
| parent | c17e0cd2da0d69aba28d23aab12186eedc579dc1 (diff) | |
| download | go-f024e390bb0cb124487fd75f564ef8178ccba8f4.tar.xz | |
reflect: optimize DeepEqual() for maps
benchmark old ns/op new ns/op delta
BenchmarkMapsDeepEqual-10 235 200 -15.05%
benchmark old allocs new allocs delta
BenchmarkMapsDeepEqual-10 7 6 -14.29%
benchmark old bytes new bytes delta
BenchmarkMapsDeepEqual-10 96 48 -50.00%
Change-Id: Ifa625ad25524cc9ee438711917606626b33a9597
Reviewed-on: https://go-review.googlesource.com/c/go/+/512576
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
