Dynamic Cheap Eagerness

  • Authors:
  • Karl-Filip Faxén

  • Affiliations:
  • -

  • Venue:
  • IFL '02 Selected Papers from the 13th International Workshop on Implementation of Functional Languages
  • Year:
  • 2001

Quantified Score

Hi-index 0.02

Visualization

Abstract

Dynamic cheap eagerness extends cheap eagerness by allowing the decision of whether to build a thunk or speculatively evaluate its body to be deferred until run time. We have implemented this optimisation in a compiler for a simple functional language and measured its effect on a few benchmarks. It turns out that a large part of the overhead of graph reduction can be eliminated, but that run-times and instruction counts are not affected in the same degree.