[Numpy-discussion] speed of random number generator compared to Julia
pierre.haessig at crans.org
Mon Apr 3 09:20:56 EDT 2017
Le 30/03/2017 à 13:31, Pierre Haessig a écrit :
> But how come Julia is 4-5x faster since Numpy uses C implementation
> for the entire process ? (Mersenne Twister -> uniform double ->
> Box-Muller transform to get a Gaussian
> Also I noticed that Julia uses a different algorithm (Ziggurat Method
> from Marsaglia and Tsang ,
> but this doesn't explain the difference for uniform rng.
Do you think Stackoverflow would be a better place for my question?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion