Patrice Duhamel wrote:Thank you, With this function, it works.
I found the random numbers I'm using for the hash keys were bad,
I'm using a version of mersenne twister found on the book "Game Programming Gems 4", and I had to call the regenerate function
many times before generating my hash keys to have a good result.
You can find on-line Mersenne twister here:
http://www.math.sci.hiroshima-u.ac.jp/~ ... T/emt.html
Perhaps you will like this 64-bit pseudo-random number generator better
http://burtleburtle.net/bob/rand/isaacafa.html
Ron