October 14, 2016 [Issue 5249] Strongly pure random generator | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5249 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp --- Comment #6 from Andrei Alexandrescu <andrei@erdani.com> --- This would work with the smaller rngs but not very well with the Mersenne twister which has iirc 4KB of state. We should be able to allow this to work for the appopriate rngs: auto identity(Rng)(Rng r) pure { r.popFront; return r; } Then threading generators about is trivial. I'll bootcamp this. -- |
December 17, 2022 [Issue 5249] Strongly pure random generator | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5249 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation