]> Cypherpunks repositories - gostls13.git/commit
runtime: remove odd-forcing of hash constants
authorkhr@golang.org <khr@golang.org>
Tue, 16 Apr 2024 01:23:38 +0000 (18:23 -0700)
committerKeith Randall <khr@google.com>
Fri, 19 Apr 2024 17:39:06 +0000 (17:39 +0000)
commitc260de24b688d72206f1224e298181c8363fc33d
tree8b46cdb16b29777dc9ee1c0f7f730d2d4b041b8f
parentef2f3391da20e4aca689033045c0d00fddd0b190
runtime: remove odd-forcing of hash constants

We don't multiply by them any more, so no need to make them odd.

Suggested by me here in 2021:
https://go-review.googlesource.com/c/go/+/280372/comment/1a86b8aa_f64310bf/
Never got around to it until now.

Change-Id: Iddc675e6a18b4a7a785acbf77c96e127003cc3c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/579116
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
src/runtime/alg.go