j
k
j a
j l
Dave Harris wrote:
hash_combine: seed ^= hash_value(v) + (seed << 6) + (seed >> 2);
I support your proposal to bias hash_value(v) in the above with a constant in order to avoid the zero trap. 0x9e3779b9 seems popular.
Back to the thread
Back to the list