Skip to main navigation Skip to search Skip to main content

Optimizing Ackermann's function by incrementalization

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

This paper describes a formal derivation of an optimized Ackermann'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
Pages (from-to)325-331
Number of pages7
JournalSIGPLAN Notices (ACM Special Interest Group on Programming Languages)
Volume38
Issue number10
DOIs
StatePublished - Oct 2003

Keywords

  • Caching
  • Incremental computation
  • Incrementalization
  • Iteration
  • Memoization
  • 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