Inlining of immediately called function literals

via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 27 00:58:01 PDT 2014


On Sunday, 27 July 2014 at 01:06:43 UTC, Dicebot wrote:
> On Sunday, 27 July 2014 at 00:43:41 UTC, Iain Buclaw via 
> Digitalmars-d wrote:
>> I'd be the sceptic of that. Which file exactly did he change? 
>> (hint:
>> It may be ignored by other compilers).
>
> Oh crap it is still open :D (and judging by comments there you 
> should more aware of what does than me) : 
> https://github.com/D-Programming-Language/dmd/pull/2483

Ok, so the documentation changes went in before the actual 
feature was merged. I think they need to be more clear, anyway. 
It should at least explain why there is no guarantee, or better 
yet, describe which subset of functions is guaranteed to be 
inlined.


More information about the Digitalmars-d mailing list