• Damian Gryski's avatar
    runtime: use per-map hash seeds · 85aeeada
    Damian Gryski authored
    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.
    
    R=golang-dev, rsc
    CC=golang-dev
    https://golang.org/cl/5599046
    85aeeada
hashmap.c 28.8 KB