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.