3 comments

[ 2.8 ms ] story [ 18.8 ms ] thread
32bits of randomness seems like plenty for most applications, and if you need more than that you should really specify that explicitly. If it speeds up Math.Random() for 90% of uses that seems like a reasonable optimization to me.
FWIW, it wasn't enough randomness for me. I was seeing collisions in some trivial code in Chrome that worked fine in every single other browser. It's not like Chrome's Math.random performance is significantly better than other modern browsers.