Environment Reuse in the WAM

  • Authors:
  • Bart Demoen;Phuong-Lan Nguyen

  • Affiliations:
  • Department of Computer Science, K.U.Leuven, Belgium;Institut de Mathématiques Appliquées, UCO, Angers, France

  • Venue:
  • ICLP '08 Proceedings of the 24th International Conference on Logic Programming
  • Year:
  • 2008

Quantified Score

Hi-index 0.01

Visualization

Abstract

The TOAM reuses eagerly allocated stack frames, while the WAM avoids to allocate environments. This is investigated by using the tak/4 benchmark as an inital case study for better understanding what one can expect from environment reuse for deterministic predicates in the WAM. Additionally, artificial programs are used to amplify the findings. The experiment compares the impact of reusing an environment versus avoiding to create it: the latter seems a superior technique.