OnlineWoerterBuecher.de
Internes

Lexikon


lazy evaluation


An evaluation strategy combining {normal order evaluation} with updating. Under normal order evaluation (outermost or call-by-name evaluation) an expression is evaluated only when its value is needed in order for the program to return (the next part of) its result. Updating means that if an expression' s value is needed more than once (i.e. it is shared), the result of the first evaluation is remembered and subsequent requests for it will return the remembered value immediately without further evaluation. This is often implemented by graph reduction. An unevaluated expression is represented as a closure - a data structure containing all the information required to evaluate the expression. Lazy evaluation is one evaluation strategy used to implement non-strict functions. Function arguments may be infinite data structures (especially lists) of values, the components of which are evaluated as needed. According to Phil Wadler the term was invented by Jim Morris. Opposite: eager evaluation. A partial kind of lazy evaluation implements lazy data structures or especially lazy lists where function arguments are passed evaluated but the arguments of data constructors are not evaluated. Full laziness is a program transformation which aims to optimise lazy evaluation by ensuring that all subexpressions in a function body which do not depend on the function' s arguments are only evaluated once. (1994-12-14)

In addition suitable contents:
[ 2 ] [ = ] [ ad ] [ ag ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ at ] [ az ] [ b ] [ be ] [ bi ] [ bo ] [ bs ] [ by ] [ ca ] [ call-by-name ] [ cc ] [ ch ] [ ci ] [ cl ] [ closure ] [ co ] [ com ] [ component ] [ con ] [ cons ] [ constructor ] [ data ] [ data structure ] [ de ] [ ding ] [ do ] [ du ] [ eager evaluation ] [ ec ] [ ed ] [ edu ] [ ee ] [ eg ] [ er ] [ es ] [ et ] [ evaluation ] [ evaluation strategy ] [ expression ] [ fi ] [ file ] [ finite ] [ fo ] [ for ] [ Fun ] [ function ] [ ge ] [ gr ] [ graph ] [ graph reduction ] [ gu ] [ gy ] [ h ] [ hat ] [ hr ] [ id ] [ il ] [ in ] [ infinite ] [ io ] [ ir ] [ is ] [ it ] [ J ] [ ki ] [ la ] [ laziness ] [ lazy list ] [ Lex ] [ li ] [ list ] [ lists ] [ lt ] [ lu ] [ ly ] [ M ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ ms ] [ na ] [ nc ] [ ne ] [ nf ] [ ng ] [ ni ] [ nl ] [ no ] [ norm ] [ ns ] [ O ] [ om ] [ op ] [ optimise ] [ pa ] [ pe ] [ ph ] [ pl ] [ pr ] [ program ] [ program transformation ] [ pt ] [ query ] [ ques ] [ rc ] [ re ] [ reduction ] [ ro ] [ ru ] [ se ] [ sh ] [ shar ] [ si ] [ sit ] [ spec ] [ st ] [ strict ] [ struct ] [ su ] [ T ] [ th ] [ to ] [ tr ] [ transformation ] [ ua ] [ um ] [ up ] [ us ] [ va ] [ value ] [ ve ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (6608 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0771 Seconds, with 16 Database-Queries
Zurück zur Startseite