Let-floating

Simon Jones, Will Partain, André L. M. Santos · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 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 92 works. doi:10.1145/232627.232630

Authors

References