3 ms·
well, if you have to implement a non tail-recursive function and want to have control of the max recursion depth (i.e. not get killed because you have exhausted
by gpderetta 9y ago
well, if you have to implement a non tail-recursive function and want to have control of the max recursion depth (i.e. not get killed because you have exhausted the stack) it is an option.
- monocasa 9y agoThere you should probably pass a iteration count into the function rather than some weird goto hack.