Closed idontgetoutmuch closed 2 months ago
Random-1.2 was a great improvement! Once it was released it become natural to generalize. More generators are always welcome!
I am going to close this - see my PR https://github.com/haskell/mwc-random/pull/90
@Shimuuar I just realised that you made the distributions independent of the RNG :-)
As an experiment I tried the RNG is
System.Random
and the one inSystem.Random.MWC
:Running 10^7 samples I got
So very roughly
System.Random
is twice as fast.Anyway great for doing this. I am beginning to think it may be time to retire
random-fu
. I will look and see if there are any distributions inrandom-fu
that can be ported across.