MurmurHash3 behaviour

Cauterite via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 19 13:28:13 PDT 2016


Regarding the MurmurHash3 implementation in core.internal.hash, 
it is my understanding that:
     // assuming a and b are uints
     bytesHash([a, b], 0) == bytesHash([b], bytesHash([a], 0))
Is this correct?
I'm just not quite certain of this property when I try to read 
the code myself, and I don't know much about hash algorithms.


More information about the Digitalmars-d-learn mailing list