A simple code improvement scheme for prolog

Research output: Contribution to journalArticlepeer-review

7 Scopus citations

Abstract

The generation of efficient code for Prolog programs requires sophisticated code transformation and optimization systems. Much of the recent work in this area has focused on high level transformations, typically at the source level. Unfortunately, such high level transformations suffer from the deficiency of being unable to address low level implementation details. This paper presents a simple code improvement scheme that can be used for a variety of low level optimizations. Applications of this scheme are illustrated using low level optimizations that reduce tag manipulation, dereferencing, trail testing, envi- ronment allocation, and redundant bound checks. The transformation scheme serves as a unified framework for reasoning about a variety of low level optimizations that have, to date, been dealt with in a more or less ad hoc manner.

Original languageEnglish (US)
Pages (from-to)57-88
Number of pages32
JournalThe Journal of Logic Programming
Volume13
Issue number1
DOIs
StatePublished - May 1992

ASJC Scopus subject areas

  • Logic

Fingerprint

Dive into the research topics of 'A simple code improvement scheme for prolog'. Together they form a unique fingerprint.

Cite this