- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Excise MersenneTwister #51513
Comments
I do see additionally (and is this DSFMT only used by MersenneTwister, and also taking up too much space/time?):
I didn't look up what GMP is used for, but it seems not to to allow generating random |
I think the right pathway is to excise random #51432 |
MT should be eliminated for more reasons than just sysimage size. |
Isn't that about making Random an (upgradable? is that needed?) stdlib? Anyway it would keep MT there?
Given that, could we "lie" to users (to sort of not break code) with (but document in NEWS?): const MersenneTwister = Xoshiro # and deprecate it right away, I think it's not yet done. I mean we could, and most users wouldn't care..., most don't user it currently any more, would some opt into it for a good reason or out of ignorance? If someone really needs MersenneTwister (exact stream on those random numbers) it could be added back with a package MersenneTwister.jl. |
It seems like we can and maybe should do it. Likely most aren't using, rather the new default RNG automatically, for some years now.
I'm not sure it takes (much) space in the sysimage (and/or Random) for little gain. It could always be added back, or lazy loaded.
The text was updated successfully, but these errors were encountered: