Hey gang, im trying to generate random numbers from 0 - 33 million. Random does a pretty poor job of it, wondering if anyone had or knows of a better java random number generator?
Define “better”.
The Mersenne Twister is pretty nice (fast).
Java port:
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/JAVA/java.html
Wikipedia entry:
are you using SecureRandom ??
Could you perhaps elaborate on the ‘poor’ term too?