D outperformed by C++, what am I doing wrong?

ikod via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 13 01:40:20 PDT 2017


On Sunday, 13 August 2017 at 08:32:50 UTC, amfvcg wrote:
>> Gives me
>>
>> 5 μs and 2 hnsecs
>> 50000000
>> 3 secs, 228 ms, 837 μs, and 4 hnsecs
>> 50000000
>
> And you've compiled it with?
>
> Btw. clang for c++ version works worse than gcc (for this case 
> [112ms vs 180ms]).

DMD64 D Compiler v2.074.1


More information about the Digitalmars-d-learn mailing list