aappleby / smhasher

Automatically exported from code.google.com/p/smhasher
2.66k stars 469 forks source link

Are there plans or is it possible for the 32bit and 64bit versions of 128 murmur3 to produce the same values? #76

Open CheyenneForbes opened 5 years ago

sebres commented 5 years ago

This is possible from scratch for MM3:

CheyenneForbes commented 5 years ago

So it would be best to build MM3-x86-128 for x86 and x64 if I am looking to have both 32bit and 64bit versions of my application having equal values?

sebres commented 5 years ago

to have both 32bit and 64bit versions of my application having equal values?

Or even MM3-x64-128 - if it is compile-able for you on x86 and you can live with certain performance loss on x86, you'd have also equal values. The emphasis was - use same algorithm on both systems.