Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could you add boost::hash to compare ? #17

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments
Open

could you add boost::hash to compare ? #17

GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

as title..
because boost is a good lib to use..
QQ


Original issue reported on code.google.com by rswa...@gmail.com on 19 Aug 2012 at 6:11

@GoogleCodeExporter
Copy link
Author

Note that boost::hash is a rather different hash function, as described by 
http://www.boost.org/doc/libs/1_55_0/doc/html/hash/rationale.html#ftn.hash.ratio
nale.f0 -- I don't think it really tries to do any of the avalanching and 
similar things that MurmurHash et al. try to do.

Original comment by alex.deh...@gmail.com on 20 Nov 2013 at 5:08

@GoogleCodeExporter
Copy link
Author

A summary of the text at the link: boost::hash is a poor quality algorithm, and 
should not be used generally, only in specific cases where it is tested to work 
well. I imagine the algorithm would fair poorly in the smhasher tests, and that 
is why it has not been added.

Original comment by frank...@gmail.com on 3 Dec 2013 at 6:42

@GoogleCodeExporter
Copy link
Author

I get it... Thank you ...

Original comment by rswa...@gmail.com on 3 Dec 2013 at 10:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant