-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Categorical Performs > x10 worse than Matlab (Octave) #25
Comments
So this might not be a problem just with Categorical.
Here's the matlab equivalent.
According to http://octave.sourceforge.net/octave/function/rand.html, octave uses the Mersenne Twister with a period of 2^19937-1. I thought that was what random-fu also used. So my next step will be to look at the random number generator and see if that is causing the 10x slowdown. |
I've spent a bit of time investigating mwc-random see: haskell/mwc-random#35 and I can generate uniform samples about x10 faster but with what appears to be a space leak. |
The same in Octave
The text was updated successfully, but these errors were encountered: