Random number generators discussion

Random number generators | www.agner.org

SIMD-oriented Fast Mersenne Twister
Author: Agner Date: 2009-05-11 07:14
The speed of the Japanese C code depends on how good the C compiler optimizes and which opportunities for optimization the surrounding code provides.

The C code is as fast as the assembly code in lucky cases, but slower in some cases. The time consumption is negligible anyway for most applications. Use whatever code is most convenient in your case.

 
thread SIMD-oriented Fast Mersenne Twister new - Holger Taschenberger - 2009-05-10
last reply SIMD-oriented Fast Mersenne Twister - Agner - 2009-05-11