while studying hash tables I read that if the number of entries of the table is a prime number, that can contribute to have a more uniform distribution and therefore reduce the number of collisions.
Now, this effect is obviously more obvious if the table in quesiton isn't costantly filled to near 100%, but I still think it could bring some small gain in performance.
Does any engine already have the hash table entries set to be a prime number? or has anyone already tried and tested this?
I expect the difference to be, if any, small, and I don't have the possiiblity of doing an accurate test with my engine by running thousands of games, so that's why I'm asking for help
