Inlining of immediately called function literals
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 27 00:02:15 PDT 2014
"Dicebot" wrote in message news:xpjsskmamagclzoiwtxb at forum.dlang.org...
> 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.
There is no 100% guarantee, the frontend's inliner is not capable of
inlining the majority of function calls. The only guarantee is that it will
try to inline the lambda whether or not the -inline switch is used.
More information about the Digitalmars-d
mailing list