开发者

How do I write a hashcode to minimise collisions?

I know the ideal hashcode algorithm is a research area, but what sensible things can I do to minimise collisions 开发者_Go百科and why do they work?

For example, I've seen hashcode functions that make use of prime numbers, but I'm not clear on what the benefit is...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜