Tail call optimization in dmd

Walter Bright newshound2 at digitalmars.com
Wed Oct 6 20:41:08 PDT 2010


Jonathan M Davis wrote:
> Also, doesn't dmd only ever do one level of inlining right now? That could 
> severely limit its ability to inline this kind of code.

Dmd doesn't inline recursion, if that's what you mean. It will inline 
arbitrarily deeply nested function calls.


More information about the Digitalmars-d mailing list