Descriptionruntime: Update hash functions to use a hidden seed instead of 0.
This patch adds a hash seed to the Hmap struct. Each seed is
initialized by runtime.fastrand1(). This is the first step of a
solution to issue 2630. Fastrand1 still needs to be updated to provide
us with actually random bits.
Patch Set 1 #Patch Set 2 : diff -r 50c95c1dfa5b http://go.googlecode.com/hg/ #Patch Set 3 : diff -r 0700956e0077 http://go.googlecode.com/hg/ #MessagesTotal messages: 3
|