Sciweavers

Share
PEPM
2000
ACM

From Recursion to Iteration: What are the Optimizations?

8 years 10 months ago
From Recursion to Iteration: What are the Optimizations?
Transforming recursion into iteration eliminates the use of stack frames during program execution. It has been studied extensively. This paper describes a powerful and systematic method, based on incrementalization, for transforming general recursion into iteration: identify an input increment, derive an incremental version under the input increment, and form an iterative computation using the incremental version. Exploiting incrementalization yields iterative computation in a uniform way and also allows additional optimizations to be explored cleanly and applied systematically, in most cases yielding iterative programs that use constant additional space, reducing additional space usage asymptotically, and run much faster. We summarize major optimizations, complexity improvements, and performance measurements.
Yanhong A. Liu, Scott D. Stoller
Added 25 Aug 2010
Updated 25 Aug 2010
Type Conference
Year 2000
Where PEPM
Authors Yanhong A. Liu, Scott D. Stoller
Comments (0)
books