Authors
Wei-Ngan Chin
Publication date
1992/1/1
Book
Proceedings of the 1992 ACM Conference on LISP and Functional Programming
Pages
11-20
Description
Large functional programs are often constructed by decomposing each big task into smaller tasks which can be performed by simpler functions. This hierarchical style of developing programs has been found to improve programmers' productivity because smaller functions are easier to construct and reuse. However, programs written in this way tend to be less efficient. Unnecessary intermediate data structures may be created. More function invocations may be required.
To reduce such performance penalties, Wadler proposed a transformation algorithm, called deforestation, which could automatically fuse certain composed expressions together in order to eliminate intermediate tree-like data structures. However, his technique is only applicable to a subset of first-order expressions.
This paper will generalise the deforestation technique to make it applicable to all first-order and higher-order functional programs …
Total citations
199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024181211128641238122354522331114332
Scholar articles
WN Chin - Proceedings of the 1992 ACM Conference on LISP and …, 1992