4 ms·
Why is Python recursion so expensive and what can we do about it?
- PaulHoule 5y agoRecursion has always been a lesser truth. For instance in AI search programs in the 1970s real LISP programmers used non deterministic execution, but when they wanted to kvetch about BASIC winning the education market they talked about recursion. One of the rules that the society of automotive engineers has is ‘no recursion’ for critical systems like engine controllers.