www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - 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
Aug 08 2005