Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用规则来评估字符串值的哈希索引。
H(x) =x (a0+x (a1+x (a2+….)….)…))
散列函数中的槽数和“x”应该是互质数/相对质数吗?
请解释其背后的原因。 如果不是这样,那么这些数字必须满足的属性是什么?