Inlining of immediately called function literals
w0rp via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 26 15:33:40 PDT 2014
On Saturday, 26 July 2014 at 22:24:40 UTC, Dicebot 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.
Nice, that's a pretty good guarantee to have.
More information about the Digitalmars-d
mailing list