Abstract
Indexing Prolog clauses is an important optimization step that reduces the number of clauses on which unification will be performed and can avoid the pushing of a choice point. It is quite desirable to increase the number of functors used in indexing as this can considerably reduce the size of the filtered set. However this can cause an enormous increase in running time if indexing is done naively. This paper describes a new technique for indexing that utilizes all the functors in a clause-head. More importantly, in spite of using all the functors, this technique is still able to quickly select relevant clause-heads at run time. This is made possible primarily by a finite-state automation that guides the indexing process. The automation is constructed at compile time by preprocessing all the clause-heads.
| Original language | English |
|---|---|
| Pages (from-to) | 281-291 |
| Number of pages | 11 |
| Journal | Conference Record of the Annual ACM Symposium on Principles of Programming Languages |
| DOIs | |
| State | Published - 1990 |
| Event | Conference Record of the Seventeenth Annual ACM Symposium on Principles of Programming Languages - San Francisco, CA, USA Duration: Jan 17 1990 → Jan 19 1990 |
Fingerprint
Dive into the research topics of 'Automata-driven indexing of Prolog clauses'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver