CRC32 0.43 GB/s 9
I've been working in the past on a 64-bits version.
[...]
A concrete use case would help, in order to focus on some tangible objective.
There is now a 64-bits version :and it indeed performs faster and better (on 64-bits hardware, that is)
Le jeudi 6 février 2014 06:44:06 UTC+1, Martin Traverso a écrit :I've been working in the past on a 64-bits version.[...]A concrete use case would help, in order to focus on some tangible objective.I would *love* to see a 64-bit version. I wrote an implementation of the HyperLogLog algorithm for estimating cardinalities of large data sets, which requires a good hash to get reasonable answers. The largest cardinality it can estimate without introducing unacceptable error is tied to the number of bits in the hash (in the order of 2^k). For my use case, 32 bits is not enough, but 64 would do. So far, I've been using Murmur3-128 and using the first 64 bits from the result. Not ideal.Martin
Le lundi 2 décembre 2013 21:36:13 UTC+1, Roger Pack a écrit :Also am I correct in presuming that the comparison with MurmurHash3 was it generating a 32-bit value? (it would also be nice/interesting for xxhash to be able to optionally generate a larger value than 32 bits...some people for some reason prefer it, and it causes them to use MurmurHash instead...)
On Monday, December 2, 2013 1:21:53 PM UTC-7, Roger Pack wrote:Hello. Just for sake of completeness, it might be nice to list on the xxhash comparison page:the speed of "raw line" and/or compared with CPU crc32, just so that people understand better.Thank you.-roger-
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "LZ4c".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse lz4c+uns...@googlegroups.com.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse lz4c+unsubscribe@googlegroups.com.
Do you intend to make it a stand-alone library ?
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse lz4c+uns...@googlegroups.com.
Ok, it's an old thread, but for the completion :> I would *love* to see a 64-bit versionThere is now a 64-bits version :and it indeed performs faster and better (on 64-bits hardware, that is)
> Wow, with that speed increase, it makes one think that if you need a 32-bit hash, but are on 64-bit hardware, you should just use XXH64 and truncate the result to 32-bit, since its faster :)Indeed, if you are sure to work in 64-bits mode, it's the way to go.