2 ms·
It's not a Go-specific thing, although I'm not aware of anybody else doing it like this, producing different results at runtime for the same map. The more usual
by int_19h 8y ago
It's not a Go-specific thing, although I'm not aware of anybody else doing it like this, producing different results at runtime for the same map. The more usual approach is to make the hashes themselves random, e.g. by utilizing a seed that's different for every new process. This is the case in .NET Core by default, for example, and in the legacy .NET Framework it's been an off-by-default switch for several years now.