diff options
author | Daniel Martà <mvdan@mvdan.cc> | 2024-03-26 22:59:41 +0200 |
---|---|---|
committer | Daniel Martà <mvdan@mvdan.cc> | 2024-03-27 21:58:12 +0000 |
commit | 2e1003e2f7e42efc5771812b9ee6ed264803796c (patch) | |
tree | 1e70949071ddcf3eb2e63386e36d6083556a57c8 /src/internal/sysinfo/cpuinfo_stub.go | |
parent | 0c5612092deb0a50c5a3d67babc1249049595558 (diff) | |
download | go-2e1003e2f7e42efc5771812b9ee6ed264803796c.tar.gz go-2e1003e2f7e42efc5771812b9ee6ed264803796c.zip |
cmd/go: replace reflect.DeepEqual with slices.Equal and maps.Equal
All of these maps and slices are made up of comparable types,
so we can avoid the overhead of reflection entirely.
Change-Id: If77dbe648a336ba729c171e84c9ff3f7e160297d
Reviewed-on: https://go-review.googlesource.com/c/go/+/574597
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/sysinfo/cpuinfo_stub.go')
0 files changed, 0 insertions, 0 deletions