What integer hash function are good that accepts an integer hash key?

前端 未结 11 1711
孤街浪徒
孤街浪徒 2020-11-22 17:23

What integer hash function are good that accepts an integer hash key?

11条回答
  •  误落风尘
    2020-11-22 17:58

    There's a nice overview over some hash algorithms at Eternally Confuzzled. I'd recommend Bob Jenkins' one-at-a-time hash which quickly reaches avalanche and therefore can be used for efficient hash table lookup.

提交回复
热议问题