Skip to main navigation Skip to search Skip to main content

Optimizing Ackermann's function by incrementalization

Research output: Contribution to conferencePaperpeer-review

4 Scopus citations

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 languageEnglish
Pages85-91
Number of pages7
StatePublished - 2003
Event2003 ACM SIGPLAN Workshop on Partial Evaluation and Semantics Based Program Manipulation - San Diego, CA, United States
Duration: Jul 7 2003Jul 7 2003

Conference

Conference2003 ACM SIGPLAN Workshop on Partial Evaluation and Semantics Based Program Manipulation
Country/TerritoryUnited States
CitySan Diego, CA
Period07/7/0307/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