Speed kills

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 9 06:04:40 PST 2016


On 3/9/16 9:03 AM, John Colvin wrote:
> On Wednesday, 9 March 2016 at 13:26:45 UTC, Andrei Alexandrescu wrote:
>> 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
>
> Ilya has long term plans for this, but I have a short-term fix that will
> buy us a very large performance improvement here (if my old benchmarks
> were correct). Give me a few mins to prep the pull request :)

Thanks much! -- Andrei


More information about the Digitalmars-d mailing list