A call is a tail call if it is the last action of the calling function: its result is returned as it is, with nothing left to compute. A function is tail-recursive if its recursive calls are tail calls. A compiler that performs tail-call elimination turns a tail call into a jump, reusing the frame.
Computer Science · Begrippenlijst
Wat is Tail call, tail recursion?
Ook bekend als: tail call · tail recursion