Force inline

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 20 23:41:44 PST 2017


Dne 21.2.2017 v 08:31 Johan Engelen via Digitalmars-d-learn napsal(a):

> On Monday, 20 February 2017 at 13:16:15 UTC, Jonathan M Davis wrote:
>> dmd is great for fast compilation and therefore it's great for 
>> development. However, while it produces decent binaries, and it may 
>> very well do certain optimizations better than the gcc or llvm 
>> backends do
>
> This I find hard to believe. Do you have an example where DMD 
> generates faster code than GDC or LDC ?
>
> Thanks,
>   Johan
I remember there has been some. One has been a problem with loop 
elimination, where ldc was not able to remove some of loops which does 
not do anything and dmd was, but I believe it has been fixed now.



More information about the Digitalmars-d-learn mailing list