tail recursion optimisation
tail recursion optimisation
(programming)Tail recursion optimisation is a special case of last call optimisation but it allows the further optimisation that somearguments may be passed in situ, possibly in registers. Itallows recursive functions to be compiled into iterativeloops.
See also conversion to iteration, tail recursion modulo cons.