Abstract
This paper describes a formal derivation of an optimized Ackerroann's function following a general and systematic method based on incrementalization. The method identifies an appropriate input increment operation and computes the function by repeatedly performing an incremental computation at the step of the increment. This eliminates repeated subcomputations in executions that follow the straightforward recursive definition of Ackermann's function, yielding an optimized program that is drastically faster and takes extremely little space. This case study uniquely shows the power and limitation of the incrementalization method, as well as both the iterative and recursive nature of computation underlying the optimized Ackermann's function.
| Original language | English |
|---|---|
| Pages | 85-91 |
| Number of pages | 7 |
| State | Published - 2003 |
| Event | 2003 ACM SIGPLAN Workshop on Partial Evaluation and Semantics Based Program Manipulation - San Diego, CA, United States Duration: Jul 7 2003 → Jul 7 2003 |
Conference
| Conference | 2003 ACM SIGPLAN Workshop on Partial Evaluation and Semantics Based Program Manipulation |
|---|---|
| Country/Territory | United States |
| City | San Diego, CA |
| Period | 07/7/03 → 07/7/03 |
Keywords
- Caching
- Incremental computation
- Incrementalization
- Iteration
- Memoizalion
- Optimization
- Program transformation
- Recursion
- Tabulation
Fingerprint
Dive into the research topics of 'Optimizing Ackermann's function by incrementalization'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver