aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2022-03-02 15:08:23 -0800
committerKeith Randall <khr@golang.org>2022-03-03 00:23:02 +0000
commitd3672054fb58d5eaa241f15fa9d7fb9d61e9ac05 (patch)
treed003c5625727e253c6be62f96750ee9db0205bdc /src/testing/testing.go
parentbcb89fc17a0ff8b588a8d413fa120cc89e053561 (diff)
downloadgo-d3672054fb58d5eaa241f15fa9d7fb9d61e9ac05.tar.xz
cmd/compile: don't include instantiating types in type hash
This CL is a bit overkill, but it is pretty safe for 1.18. We'll want to revisit for 1.19 so we can avoid the hash collisions between types, e.g. G[int] and G[float64], that will cause some slowdowns (but not incorrect behavior). Thanks Cherry for the simple idea. Fixes #51250 Change-Id: I68130e09ba68e7cc35687bc623f63547bc552867 Reviewed-on: https://go-review.googlesource.com/c/go/+/389474 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions