Comments (4)
Will you release MurmurHash3_x64_64 ?
I need a hash to output 40 or 48 bit.
You said "extending them to larger/smaller hash sizes or for streaming and
incremental operation should be straightforward", so can you tell us how with
some examples ?
Original comment by [email protected]
on 9 Apr 2011 at 5:05
from smhasher.
Sorry. I read the code in r76 and notes in the main page. Since the shorter
variations are trimmed from the result of longer variations, I guess there is
little reason to keep them. Instead users can do that from their own needs.
Technically this issue is invalid.
Original comment by [email protected]
on 11 Apr 2011 at 10:00
from smhasher.
copmaring x86_32 and x64_128, the former only use the seed once (uint32_t h1 =
seed;) and the latter use it twice (uint64_t h1 = seed; uint64_t h2 = seed;).
And, four times for x86_128.
It seems that, for a output of the same length, only "h1" needed, for a double
length, two (h1,h2) needed and for a four times length, four is needed.
I agree that if the hash is perfect, trim x86_128 to 32bit will be a same good
hash, but this could be slower.
Original comment by [email protected]
on 12 Apr 2011 at 3:17
from smhasher.
If your code needs a 64-bit hash value, it's almost always faster to generate a
128-bit hash and only use 64 bits of the result - hence the removal of the _64
versions.
Original comment by [email protected]
on 11 May 2012 at 5:37
- Changed state: WontFix
from smhasher.
Related Issues (20)
- Murmur3A on CentOS 6 x86_64 fails Window Tests HOT 1
- Minor changes to allow compiling MurmurHash3.cpp as C code. HOT 1
- SmHasher breaks without -fno-strict-aliasing
- could you add boost::hash to compare ? HOT 3
- MSVC2010 compilation. HOT 4
- City.cpp compilation warnings on Windows 64-bit target
- Probably bug in KeysetTest.cpp
- MurmurHash3_x64_128 reads past end of key buffer HOT 1
- [PATCH] Add missing `inline' keyword to FORCE_INLINE HOT 2
- Wrote a constexpr MurmurHash3 function
- SHA1 Sanity does not agree with Node.js SHA1. HOT 2
- MurmurHash3_x86_32 Algorithm Does Not match the one in Wikipedia HOT 3
- missing license
- Fixes to City.h to to allow inclusion in third-party sources HOT 1
- Make inline Functions static
- More hashes
- PMurHash.c on Solaris
- murmurhash3 128bit gives wrong result on big-endian platform HOT 1
- Improper handling of negative seeds HOT 1
- Core dump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smhasher.