aappleby/smhasher

question on mixing

drodden opened this issue · 0 comments

The last mixing steps in the loops of murmur2 and murmur2A do:

h *= m; h ^= k;

And similar in murmur64B:

h1 *= m; h1 ^= k1;
.....
h2 *= m; h2 ^= k2;

But in murmur64A, they are reversed:

h ^= k;
h *= m;

Is that intentional? If so, curious as to why.
Thanks!