#Hashing DynamicBitSet

1 messages · Page 1 of 1 (latest)

granite topaz
#

Hi all,

We're currently using a u128 as the key into our hash maps. We want to switch to using a std.bit_set.DynamicBitSet instead of the u128 and were wondering if std provides a fast hashing algorithm for DynamicBitSet out of the box? I didn't see one, but was wondering if we missed it somewhere.

Thanks!

stark moat
#

You can probably use std.hash.autoHash