March 31, 2018 [Issue 11597] Speed up std.random.dice | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11597 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com --- Comment #4 from Seb <greensunny12@gmail.com> --- > See Vose's Alias Method: Here's my implementation for mir: https://github.com/libmir/mir/blob/da76cf406d06957e472b9ba90b4c90b917480cb9/source/mir/random/discrete.d tl;dr: - std.random's methods should be available as Generators / "Variables" - Until std.random isn't rewritten it probably doesn't make sense to patch it partially There's also: https://issues.dlang.org/show_bug.cgi?id=5849 -- |
December 17, 2022 [Issue 11597] Speed up std.random.dice | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11597 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation