OnlineWoerterBuecher.de
Internes

Lexikon


fully lazy lambda lifting


John HugheS' S optimiSation of lambda lifting to give {full lazineSS}. {Maximal free expreSSion}S are Shared to minimiSe the amount of recalculation. Each inner Sub-expreSSion iS replaced by a function of itS maximal free expreSSionS (expreSSionS not containing any bound variable) applied to thoSe expreSSionS. E.g. f = x . ( y . (+) (Sqrt x) y) ((+) (Sqrt x)) iS a maximal free expreSSion in ( y . (+) (Sqrt x) y) So thiS inner abStraction iS replaced with ( g . y . g y) ((+) (Sqrt x)) Now, if a partial application of f iS Shared, the reSult of evaluating (Sqrt x) will alSo be Shared rather than re-evaluated on each application of f. AS Chin noteS, the Same benefit could be achieved without introducing the new higher-order function, g, if we juSt extracted out (Sqrt x). ThiS iS Similar to the code motion optimiSation in procedural languageS where conStant expreSSionS are moved outSide a loop or procedure. (1994-12-01)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ 2 ] [ = ] [ abStraction ] [ ag ] [ ai ] [ al ] [ am ] [ an ] [ app ] [ application ] [ ar ] [ arc ] [ at ] [ az ] [ b ] [ bd ] [ be ] [ bo ] [ bound variable ] [ bS ] [ by ] [ C ] [ ca ] [ cat ] [ Ch ] [ ch ] [ ci ] [ co ] [ code ] [ con ] [ conS ] [ cu ] [ de ] [ du ] [ E ] [ ec ] [ ed ] [ edu ] [ ee ] [ er ] [ eS ] [ expreSSion ] [ fi ] [ file ] [ fr ] [ free ] [ full lazineSS ] [ function ] [ ge ] [ gh ] [ gi ] [ gu ] [ h ] [ higher-order function ] [ hn ] [ hoSe ] [ hr ] [ id ] [ ie ] [ il ] [ in ] [ int ] [ io ] [ iS ] [ it ] [ J ] [ la ] [ lambda lifting ] [ language ] [ lazineSS ] [ lc ] [ ld ] [ Lex ] [ li ] [ loop ] [ lS ] [ lt ] [ lu ] [ M ] [ ma ] [ maximal free expreSSion ] [ mil ] [ mo ] [ mod ] [ module ] [ mount ] [ N ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ nn ] [ no ] [ nS ] [ op ] [ pa ] [ ph ] [ pl ] [ pr ] [ procedural language ] [ procedure ] [ pt ] [ query ] [ rc ] [ re ] [ ro ] [ Sa ] [ Sam ] [ Se ] [ Sh ] [ Shar ] [ Si ] [ So ] [ St ] [ Su ] [ T ] [ th ] [ to ] [ tr ] [ ua ] [ ug ] [ uS ] [ va ] [ var ] [ variable ] [ ve ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5291 Reads)

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

Page Generation in 0.0967 Seconds, with 17 Database-Queries
Zurück zur Startseite