标签:
func hashInt32(x int) int { x = ((x >> 16) ^ x) * 0x45d9f3b x = ((x >> 16) ^ x) * 0x45d9f3b x = ((x >> 16) ^ x) return x }
今天看到一个int的hash函数,地址http://stackoverflow.com/questions/664014/what-integer-hash-function-are-good-that-accepts-an-integer-hash-key
标签:
原文地址:http://my.oschina.net/purely/blog/407146