https://d.puremagic.com/issues/show_bug.cgi?id=11598
Summary: std.random.uniform could be faster for integrals
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Chris Cain <[email protected]> 2013-11-24 19:52:26 PST ---
(may be related to https://d.puremagic.com/issues/show_bug.cgi?id=10287 but
probably not)
std.random.uniform performs two division operations, but it's possible to make
a uniform random number using just one division operation. This change could
dramatically speed up every usage of uniform.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------