3 ms·
The problem is not that there is a hardcoded limit. Python just isn't suited for heavy recursion. As for tail-call optimization, here's Guido's opinion (which
by Vaskivo 13y ago
The problem is not that there is a hardcoded limit. Python just isn't suited for heavy recursion.
As for tail-call optimization, here's Guido's opinion (which I agree): http://neopythonic.blogspot.pt/2009/04/tail-recursion-elimination.html http://neopythonic.blogspot.pt/2009/04/tail-recursion-elimin...