14 ms·
Right but recursion is only a smaller part of why the optimization is important. It means tail-called functions still build on the stack and long function chain
by adamwk 5mo ago
Right but recursion is only a smaller part of why the optimization is important. It means tail-called functions still build on the stack and long function chains—as is common with fp—can overflow