An improved continuation call-based implementation of tabling

  • Authors:
  • Pablo Chico de Guzmán;Manuel Carro;Manuel V. Hermenegildo;Cláudio Silva;Ricardo Rocha

  • Affiliations:
  • School of Computer Science, Univ. Politécnica de Madrid, Spain and Depts. of Comp. Science and Electr. and Comp. Eng., Univ. of New Mexico;School of Computer Science, Univ. Politécnica de Madrid, Spain;School of Computer Science, Univ. Politécnica de Madrid, Spain and Depts. of Comp. Science and Electr. and Comp. Eng., Univ. of New Mexico;DCC-FC & LIACC, University of Porto, Portugal;DCC-FC & LIACC, University of Porto, Portugal

  • Venue:
  • PADL'08 Proceedings of the 10th international conference on Practical aspects of declarative languages
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Tabled evaluation has been proved an effective method to improve several aspects of goal-oriented query evaluation, including termination and complexity. Several "native" implementations of tabled evaluation have been developed which offer good performance, but many of them require significant changes to the underlying Prolog implementation, including the compiler and the abstract machine. Approaches based on program transformation, which tend to minimize changes to both the Prolog compiler and the abstract machine, have also been proposed, but they often result in lower efficiency. We explore some techniques aimed at combining the best of these worlds, i.e., developing an extensible implementation which requires minimal modifications to the compiler and the abstract machine, and with reasonably good performance. Our preliminary experiments indicate promising results.