Environment Reuse in the WAM

  • Bart Demoen
  • Phuong-Lan Nguyen
Conference paper

DOI: 10.1007/978-3-540-89982-2_60

Volume 5366 of the book series Lecture Notes in Computer Science (LNCS)
Cite this paper as:
Demoen B., Nguyen PL. (2008) Environment Reuse in the WAM. In: Garcia de la Banda M., Pontelli E. (eds) Logic Programming. ICLP 2008. Lecture Notes in Computer Science, vol 5366. Springer, Berlin, Heidelberg

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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Bart Demoen
    • 1
  • Phuong-Lan Nguyen
    • 2
  1. 1.Department of Computer ScienceK.U.LeuvenBelgium
  2. 2.Institut de Mathématiques AppliquéesUCOAngersFrance