[Issue 4725] std.algorithm.sum()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 15 11:58:15 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4725
--- Comment #11 from David Simcha <dsimcha at yahoo.com> 2011-05-15 11:53:59 PDT ---
(In reply to comment #10)
> No need to teach or convince me of the virtues of ILP. We've long discussed in
> the newsgroup how associative operations can be significantly accelerated. I
> was simply replying to the implementation shown, which is a duplication of
> reduce. Ideally we'd capture more operation than summation in e.g.
> assoc_reduce. Then sum would become a simple alias.
Great idea! When we figure hot how we want to do this, I should probably
incorporate it into std.parallelism, too, since std.parallelism already assumes
associativity anyhow.
--
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