Task: Investigate Hash Function Distribution with Prime vs Non-Prime Modulus
Task: Investigate Hash Function Distribution with Prime vs Non-Prime Modulus: a task in Terminal-Lego-15k (Harbor dataset). A common programming wisdom states that hash functions should use a prime number as the modulus because it provides better distribution of hash values. This task asks you to…
The task
A common programming wisdom states that hash functions should use a prime number as the modulus because it provides better distribution of hash values. This task asks you to empirically investigate whether this claim holds true.
Part of PrimeIntellect/Terminal-Lego-15k.