aboutsummaryrefslogtreecommitdiff
path: root/test/escape_hash_maphash.go
AgeCommit message (Collapse)Author
2019-11-16hash/maphash: mark call into runtime hash function as not escapingKeith Randall
This allows maphash.Hash to be allocated on the stack for typical uses. Fixes #35636 Change-Id: I8366507d26ea717f47a9fb46d3bd69ba799845ac Reviewed-on: https://go-review.googlesource.com/c/go/+/207444 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>