3 ms·
Also MT still has to be seeded, it is not crypto-safe and its quality/computational load ratio is not too good.
by mbq 12y ago
Also MT still has to be seeded, it is not crypto-safe and its quality/computational load ratio is not too good.
- Scaevolus 12y agoIt's far more complex than it needs to be. If you want a fast, high quality deterministic RNG, use something from the xorshift family.
- edwintorok 12y agoThis is a good article describing fast non-cryptographic RNGs: http://www.drdobbs.com/tools/fast-high-quality-parallel-random-number/229625477 http://www.drdobbs.com/tools/fast-high-quality-parallel-rand... http://www.drdobbs.com/tools/fast-high-quality-parallel-random-number/231000484 http://www.drdobbs.com/tools/fast-high-quality-parallel-rand... CMRES is quite impressive, I get ~1500 MB/s out of it. Quite useful for generating large unique files for various testcases.