pragma(inline, true) not very useful in its current state?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 24 12:43:12 PDT 2015


On 9/24/2015 8:47 AM, David Nadlinger wrote:
> What were the reasons behind this decision?

The trouble is the compiler does inlining as a top down traversal, whereas 
forcing inline with no -inline would be a bottom up thing. The compiler could 
always do the top down traversal, but it would make compilations slower, whether 
any force inlines exist or not.


More information about the Digitalmars-d mailing list