August 08, 2005 Does D optimize for tail recursion | ||||
---|---|---|---|---|
| ||||
Hi, In some ML lanugages like Ocaml the compiler automatically detects tail recursions and changes it to a while-loop before compiling to machine code. Does D have this tail-recursion-optimization too? -Jerry |
Copyright © 1999-2021 by the D Language Foundation