3 ms·
Those algorithms usually use non-tail recursion. Most tail recursion uses usually is trivial to rewrite in a loops.
by vbezhenar 4y ago
Those algorithms usually use non-tail recursion. Most tail recursion uses usually is trivial to rewrite in a loops.
- wtetzner 4y ago> Most tail recursion uses usually is trivial to rewrite in a loops. Except for tail calls that aren't self-calls. Which for code I write is actually fairly frequent.