Possible Duplicate:
What is tail-recursion?
What is tail recursion optimization?
a calls b calls c calls d.
at the end you have tails:
d returns to c returns to b returns to a. if all these do nothing (like in recursion, where it is actually a calls a calls a calls a) then you can optimize that... ...into d returns to a.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With