aboutsummaryrefslogtreecommitdiff
path: root/src/reflect/type.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2024-04-18 14:05:55 -0700
committerKeith Randall <khr@google.com>2024-04-19 17:39:28 +0000
commit35c619398b976bf90fb8c813653cf48ce732b032 (patch)
treeecdc46820eacb5b6d8b25de14870c37168844c23 /src/reflect/type.go
parentc260de24b688d72206f1224e298181c8363fc33d (diff)
downloadgo-35c619398b976bf90fb8c813653cf48ce732b032.tar.gz
go-35c619398b976bf90fb8c813653cf48ce732b032.zip
runtime: for fallback hash, get rid of constant xors
There's no need for these. If hashkey[i] is uniform over [0,1<<64), then hashkey[0]^C has exactly the same distribution, for any constant C. Change-Id: I4e10c27eff15e4b7a45139654ac41f410b1b12fc Reviewed-on: https://go-review.googlesource.com/c/go/+/580218 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/reflect/type.go')
0 files changed, 0 insertions, 0 deletions