dib-lab / pybbhash

A Python wrapper for the bbhash library for Minimal Perfect Hashing
Other
18 stars 4 forks source link

investigate duplicate hashes #16

Open ctb opened 3 years ago

ctb commented 3 years ago

in https://github.com/spacegraphcats/spacegraphcats/pull/375, I discovered that bbhash seems to not detect duplicate input hash values and so any duplicates end up being ignored in terms of value setting.

investigate and confirm this behavior, and then test and document it!

ctb commented 3 years ago

also in relation to https://github.com/spacegraphcats/spacegraphcats/pull/375, check what happens if we try to assign a value to a hash that doesn't exist in the mphf.