Three optimisations for sharing

  • Authors:
  • Jacob M. Howe;Andy King

  • Affiliations:
  • Department of Computing, City University, London EC1V OHB, UK (e-mail: sjacob@soi.city.ac.uk);Computing Laboratory, University of Kent at Canterbury, Canterbury CT2 7NF, UK (e-mail: a.m.king@ukc.ac.uk)

  • Venue:
  • Theory and Practice of Logic Programming
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

To improve precision and efficiency, sharing analysis should track both freeness and linearity. The abstract unification algorithms for these combined domains are suboptimal, hence there is scope for improving precision. This paper proposes three optimisations for tracing sharing in combination with freeness and linearity. A novel connection between equations and sharing abstractions is used to establish correctness of these optimisations even in the presence of rational trees. A method for pruning intermediate sharing abstractions to improve efficiency is also proposed. The optimisations are lightweight and therefore some, if not all, of these optimisations will be of interest to the implementor.