2 ms·
> I can't think of a scenario where recursion results in a faster algorithm than an iterative form. Agreed, particularly since tail call optimization is effect
by falcolas 11y ago
> I can't think of a scenario where recursion results in a faster algorithm than an iterative form.
Agreed, particularly since tail call optimization is effectively creating a loop behind the scenes.