Tail call optimization?

bearophile bearophileHUGS at lycos.com
Sun Mar 18 14:28:06 PDT 2012


Alex Rønne Petersen Wrote:

> Does D to tail call optimization of any kind?

The D standard doesn't require the D compiler to perform that optimization (unlike Scheme).
Currently both DMD and LDC are able to perform tail call optimization in some normal cases. And I presume GDC is able to do the same.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list