orneryhippo / smhasher

Automatically exported from code.google.com/p/smhasher
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
I get it... Thank you ...

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