Using a power of 2 allows for much quicker selection of the bucket to use, but at the expense of loosing the upper bits of the hash value.

 
  • 使用2的幂则可以更快地选择要用的桶,但是它的代价是损失了散列值的高位信息。
今日热词
目录 附录 查词历史