Confusion about `Random`

jwatson-CO-edu real.name at colorado.edu
Sat Dec 24 17:55:11 UTC 2022


On Saturday, 24 December 2022 at 16:42:36 UTC, Siarhei Siamashka 
wrote:
>
> Sounds like a case of https://xkcd.com/221/
>
> BTW, you don't need to explicitly initialize unpredictableSeed,
>
> Another thing is that the current implementation of 
> `std.random` in Phobos is extremely slow

Even better, I automated the caching of dice rolls to be used 
later as random numbers!  `;P`

Thanks for the tips.





More information about the Digitalmars-d-learn mailing list