]> Cypherpunks repositories - gostls13.git/commit
runtime: use better hash for non-empty interface
authorRuss Cox <rsc@golang.org>
Wed, 6 Aug 2014 20:22:52 +0000 (16:22 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 6 Aug 2014 20:22:52 +0000 (16:22 -0400)
commitf098a29630c48543df6c476cfa574ab013cfaaa6
tree69b462ed8fb0d6ffa0c528f788e933c8e7744ae7
parent2185dbcd8554ef728df06c30ef83e4c61e8c17d8
runtime: use better hash for non-empty interface

The implementation 'return 0' results in too many collisions.

LGTM=khr
R=golang-codereviews, adonovan, khr
CC=golang-codereviews, iant, khr, r
https://golang.org/cl/125720044
src/pkg/runtime/alg.go
src/pkg/runtime/iface.goc
src/pkg/runtime/runtime.h