Let-floating
Simon Jones, Will Partain, André L. M. Santos · ACM SIGPLAN Notices · 1996
Virtually every compiler performs transformations on the program it is compiling in an attempt to improve efficiency. Despite their importance, however, there have been few systematic attempts to categorise such transformations and measure their impact.In this paper we describe a particular group of transformations --- the "let-floating" transformations --- and give detailed measurements of their effect in an optimizing compiler for the non-strict functional language Haskell. Let-floating has not received much explicit attention in the past, but our measurements show that it is an important group of transformations (at least for lazy languages), offering a reduction of more than 30% in heap allocation and 15% in execution time.
Cited by 6 works. doi:10.1145/232629.232630
Authors
References
- Department of Computer Science
- Report on the programming language Haskell
- Compiling with Continuations
- Compiler transformations for high-performance computing
- ORBIT: an optimizing compiler for scheme
- Implementing lazy functional languages on stock hardware: the Spineless Tagless G-machine
- Characterizing computer performance with a single number
- The Expressiveness of Simple and Second-Order Type Structures
- A natural semantics for lazy evaluation
- A call-by-need lambda calculus