S
spinoza1111
I've re-quoted the part where I explained this.
No. In fact, memory management of any sort would cost time.
The problem was that in Spinny's code, each of the recursive calls
used to calculate factorial(19) would also perform an iterative calculation
of factorial(N) for N <= 19. So instead of calculating factorial(19)
iteratively and being done with iteration, it also calculates factorial(18)
iteratively, factorial(17) iteratively, factorial(16) iteratively, and so
on.
This has been explained to you several times. The purpose was to
execute so many cycles that it would be impossible to use an
interpreter to execute it: yet C Sharp executes the code only ten
percent slower than the C code because it's not (as many people here,
including you, claim) an interpreter.