Jump to content

Talk:Term indexing

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Just in Time Clause Indexing

[edit]

Inside the Prolog community the term just in time indexing has been established for a certain form of term indexing. Basically the clause head is automatically indexed on some selected arguments based on the call patterns that occur during backward chaining. Multiple indexes can be built and also automatically removed for the same predicate.

A couple of Prolog systems implement this already.

SWI Prolog:

http://www.swi-prolog.org/pldoc/doc_for?object=section%282,%272.17%27,swi%28%27/doc/Manual/jitindex.html%27%29%29

Jekejeke Prolog:

http://www.jekejeke.ch/idatab/doclet/prod/en/docs/05_run/06_bench/05_optimizations/02_index.html

Would this be worth an additional section maybe?