4 ms·
> That seems like it would be a performance hit to actively make it different Not really. I don't know the go implementation but you can get this behaviour by
by adev_ 7y ago
> That seems like it would be a performance hit to actively make it different
Not really. I don't know the go implementation but you can get this behaviour by adding an arbitrary "startup defined" seed to your hash function and that does the trick.
It also gives the benefit of making hash table attacks harder.