You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be nice to support allowing users to write code that was hash-function-agnostic, letting their users choose the hash function they prefer. For example someone might create a hash table library using hashabler and allow their users to swap in FNV-1a or siphash or a hash function of their own choosing.
I'm not quite sure what this would look like, especially since I'm not convinced the way I've structured the current Hash and Hashable classes is that great.
Please comment if you're interested in this feature and mention your use case.
The text was updated successfully, but these errors were encountered:
It might be nice to support allowing users to write code that was hash-function-agnostic, letting their users choose the hash function they prefer. For example someone might create a hash table library using
hashabler
and allow their users to swap inFNV-1a
or siphash or a hash function of their own choosing.I'm not quite sure what this would look like, especially since I'm not convinced the way I've structured the current
Hash
andHashable
classes is that great.Please comment if you're interested in this feature and mention your use case.
The text was updated successfully, but these errors were encountered: