1
0
mirror of https://github.com/golang/go synced 2024-11-06 10:36:13 -07:00
go/src/hash
Keith Randall 6ba0be1639 hash/maphash: mark call into runtime hash function as not escaping
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>
2019-11-16 20:31:45 +00:00
..
adler32
crc32
crc64
fnv
maphash hash/maphash: mark call into runtime hash function as not escaping 2019-11-16 20:31:45 +00:00
example_test.go
hash.go
marshal_test.go
test_cases.txt
test_gen.awk