martinus / robin-hood-hashing

Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
https://gitter.im/martinus/robin-hood-hashing
MIT License
1.52k stars 146 forks source link

exposing robin_hood::hash_bytes #69

Closed sfgorky closed 4 years ago

sfgorky commented 4 years ago

Hello, I am uing the 'hood-hashing' class with great success. However for my application, I needed to expose (as inline) the function 'hash_bytes', since the code I'm working on has its own string class - and I wanted to have use the 'hood hash' function as a string...

Would it be possible to do that on the next release ? in a way I don't need to modify the code!

thanks.

martinus commented 4 years ago

I don't know what you mean by expose? You can already use it with robin_hood::hash_bytes(data, size).