[Issue 15722] std.algorithm sum should favour speed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Feb 25 04:24:09 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15722
Cédric Picard <cpicard at openmailbox.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cpicard at openmailbox.org
--- Comment #1 from Cédric Picard <cpicard at openmailbox.org> ---
I would rather have a comment in the doc saying "Pairwise summation is slower
than naive one, for performance use reduce!((a, b) => a+b)", adding a new
function for that seems overkill.
--
More information about the Digitalmars-d-bugs
mailing list