Combining an improvement to PARMA trailing with trailing analysis

  • Authors:
  • Tom Schrijvers;Bart Demoen

  • Affiliations:
  • Katholieke Universiteit Leuven, B-3001 Heverlee, Belgium;Katholieke Universiteit Leuven, B-3001 Heverlee, Belgium

  • Venue:
  • Proceedings of the 4th ACM SIGPLAN international conference on Principles and practice of declarative programming
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Trailing of bindings in the PARMA variable representation is expensive in time and space. Two schemes are presented that lower its cost: the first is a technique that halves the space cost of trailing in PARMA. It can be used with conditional and unconditional trailing. It is illustrated and evaluated in the context of dProlog and in the Mercury backend of HAL. The second scheme combines a variant of a previously developed trailing analysis with the first technique. Empirical evidence shows the usefulness of these schemes and that the combination is more effective than each scheme apart.