mattbierner / hamt

Javascript Hash Array Mapped Trie
MIT License
251 stars 16 forks source link

Remove the `*Hash` functions. #9

Closed mattbierner closed 8 years ago

mattbierner commented 8 years ago

There is a risk when using these functions that you could set the same key with different hashes. This behavior is confusing and is not expected in most cases.

Hamt+ will still support using a custom hash function but hamt should just use the internal hash function and not support custom hashes for this reason.