Re:Show HN: Refurb – A tool for refurbishing and modernizing...
by olejorgenb on Wednesday September 28, 2022 @01:21PM
(#33010548)
I think this is just for sets whos items hash derive from `hash(some_string)` (eg.: sets of strings)
This is because the string hash function is randomized on process startup to help prevent DOS attacks: https://stackoverflow.com/q/30585108/1517969
I learned this when a unit test that iterated over a set started failing sporadically :P super confusing bug!