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

amfvcg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 13 01:32:50 PDT 2017


> 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]).


More information about the Digitalmars-d-learn mailing list