diff options
| author | Russ Cox <rsc@golang.org> | 2014-08-06 16:47:54 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-08-06 16:47:54 -0400 |
| commit | 5fbcdb26613a819ba693ee3933f6e283e139630b (patch) | |
| tree | 991b2a39fa54562ca25a1ce03744e1ffb7f03172 /src/pkg/runtime/malloc.go | |
| parent | 1338f327b2deb81ba81107b5033d1b10e97e3abe (diff) | |
| download | go-5fbcdb26613a819ba693ee3933f6e283e139630b.tar.xz | |
runtime: use better hash for floating point inputs
Hashing on the bytes instead of the words does
a (much) better job of using all the bits, so that
maps of floats have linear performance.
LGTM=khr
R=golang-codereviews, khr
CC=adonovan, golang-codereviews
https://golang.org/cl/126720044
Diffstat (limited to 'src/pkg/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions
