[Issue 4725] std.algorithm.sum()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 24 22:57:05 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4725



--- Comment #5 from bearophile_hugs at eml.cc 2010-12-24 22:55:05 PST ---
(In reply to comment #4)

> You should add a 'case 2:' to avoid complication of a simple and common case.
> Maybe also avoid // computation under a given number of elements (to be
> defined).

The code I have shown is tuned with timing experiments.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list