Abstract
The HAL language includes a Herbrand constraint solver which uses Taylor’s PARMA scheme rather than the standard WAM representation. This allows HAL to generate more efficient Mercury code. Unfortunately, PARMA’s variable representation requires value trailing with a trail stack consumption about twice as large as for the WAM. We present a trailing analysis aimed at determining which Herbrand variables do not need to be trailed. The accuracy of the analysis comes from HAL’s semi-optional determinism and mode declarations. The analysis has been partially integrated in the HAL compiler and benchmark programs show good speed-up.
Original language | English |
---|---|
Title of host publication | Logic Programming |
Subtitle of host publication | 18th International Conference, ICLP 2002 Copenhagen, Denmark, July 29 – August 1, 2002 Proceedings |
Editors | Peter J. Stuckey |
Place of Publication | Berlin Germany |
Publisher | Springer |
Pages | 38-53 |
Number of pages | 16 |
ISBN (Print) | 3540439307 |
DOIs | |
Publication status | Published - 2002 |
Event | International Conference on Logic Programming 2002 - Copenhagen, Denmark Duration: 29 Jul 2002 → 1 Aug 2002 Conference number: 18th https://link.springer.com/book/10.1007/3-540-45619-8 (Proceedings) |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 2401 |
ISSN (Print) | 0302-9743 |
Conference
Conference | International Conference on Logic Programming 2002 |
---|---|
Abbreviated title | ICLP 2002 |
Country/Territory | Denmark |
City | Copenhagen |
Period | 29/07/02 → 1/08/02 |
Internet address |
|