Speed kills

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 9 05:39:50 PST 2016



Dne 9.3.2016 v 14:26 Andrei Alexandrescu via Digitalmars-d napsal(a):
> On 03/08/2016 09:14 AM, ixid wrote:
>> Since I posted this thread I've learned std.algorithm.sum is 4 times
>> slower than a naive loop sum. Even if this is for reasons of accuracy
>> this is exactly what I am talking about- this is a hidden iceberg of
>> terrible performance that will reflect poorly on D. That's so slow the
>> function needs a health warning.
>
> Whoa. What's happening there? Do we have anyone on it? -- Andrei
>
I guess he speaks about this one:

http://forum.dlang.org/post/mailman.4748.1456070484.22025.digitalmars-d-learn@puremagic.com


More information about the Digitalmars-d mailing list