meaning of last call optimisation

1. last call optimisation Normally when procedure A calls procedures B, C, . . , Z, the environment of procedure A is only discarded when procedure Z returns and procedure A itself terminates. Using last call optimisation, As environment is discarded as Z is called. This allows arbitrarily deep nesting of procedure calls without consuming memory to store useless environments. A special case of this is tail recursion optimisation where the last procedure called is the calling procedure itself. last-in first-out stack LAT Local Area Transport latch A digital logic circuit used to store one or more bits. A latch has a data input, a clock input and an output. When the clock input is active, data on the input is "latched" or stored and transfered to the output either immediately or when the clock input goes inactive. The output will then retain its value until the clock goes active again. See also flip-flop.


Related Words

last call optimisation |

Developed & Maintained By Taraprasad.com

Treasure Words