JuliaRandom / RandomNumbers.jl

Random Number Generators for the Julia Language.
https://juliarandom.github.io/RandomNumbers.jl/stable
Other
97 stars 23 forks source link

Why is the Mersenne Twister in Base faster? #71

Open stakaz opened 4 years ago

stakaz commented 4 years ago

Just a short question because I have not found any hint for this in the docs. Why is the performance of the Base Mersenne Twister much faster than the performance of this one implemented here.

sunoru commented 3 years ago

Ah, I'm sorry for missing this question :(

The base Mersenne Twister is a wrapper of dSFMT, which is a C library designed for fast random number generation.