3 ms·
> There was a tradeoff. By nixing recursion the compiler could perform variable folding optimizations that would be impossible with recursion. I don't think th
by zozbot234 5y ago
> There was a tradeoff. By nixing recursion the compiler could perform variable folding optimizations that would be impossible with recursion.
I don't think this is a real tradeoff. Your optimization clearly depends on whole-program compilation anyway, so programs that do not involve non-tail recursion can still be optimized as such.