Comment by emil-lp

Comment by emil-lp 5 days ago

0 replies

It wouldn’t have, since

    fib(n-1) + fib(n-2)
isn’t a tail call—there’s work left after the recursive calls, so the tail call interpreter can’t optimize it.