Full threadstochastic_monk·This sounds quite similar to the fastrange [0] method. I’ve used it for random sampling but not a hash table. It’d be great for non-power-of-two tables while avoiding integer modulus.[0] https://github.com/lemire/fastrangeView on HN