Howe, J.M. and King, Andy
Three Optimisations for Sharing.
UKC, University of Kent at Canterbury
In order 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 lightweight optimisations for tracing sharing in combination with freeness and linearity, and proves their correctness. Correctness is established in the presence of rational trees in terms of a novel abstraction operator. A method for pruning intermediate sharing abstractions is also proposed. The cost of these optimisations ranges from zero to linear (even before the efficiency gains that follow from improved precision), therefore some, if not all, of these optimisations will be of interest to an implementor.
- Depositors only (login required):