Inlining of immediately called function literals

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 26 16:13:46 PDT 2014


On 26 July 2014 23:24, Dicebot via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Saturday, 26 July 2014 at 17:55:55 UTC, Marc Schütz wrote:
>>
>> The language reference on functions [1] says:
>>
>> "If a FunctionLiteral is immediately called, its inlining would be
>> enforced normally."
>>
>> How is this to be interpreted?
>>
>> [1] http://dlang.org/function
>
>
> I can't PR but there were one by Kenji that did inline of such calls in the
> frontend providing 100% gurantee whatever backend is used.

I'd be the sceptic of that. Which file exactly did he change? (hint:
It may be ignored by other compilers).



More information about the Digitalmars-d mailing list