• Sign up
  • ‎What is Shvoong?‎
  • Sign In
    Sign In
    Remember my username Forgot your password?

Summaries and Short Reviews

.

Shvoong Home>Science>On the Efficiency of Optimising Shallow Backtracking in Prolog Summary

.

On the Efficiency of Optimising Shallow Backtracking in Prolog

Book Abstract by: Dan Ilushin    

Original Author: Mats Carlsson
The cost of backtracking has been identified as one of the bottlenecks in achieving peak performance in compiled Prolog programs.
Much of the backtracking in Prolog programs is shallow, i.e. is caused by unification failures in the head of a clause when there are more alternatives for the same procedure, and so special treatment of this form of backtracking has been proposed as a significant optimisation. This paper describes a modified WAM which optimises shallow backtracking. Four different implementation approaches are compared. A number of benchmark results are presented, measuring the relative tradeoffs between compilation time, code size, and run time. The results show that the speedup gained by this optimisation can be significant.
Published: August 30, 2005
Please Rate this Review : 1 2 3 4 5

Bookmark & share this post

.