« Return to Thread: Prolog indexing.

Prolog indexing.

by Troman-2 :: Rate this Message:

Reply to Author | View in Thread

Hi.
As far as I know Swi-Prolog indexes predicates using the first
argument.

I have a Prolog database with many facts in form:

fact( atom, atom2 ).

Now I'd like to replace both 'atom' and 'atom2' with a list of 2 atoms.
Will this negatively affect indexing and performance? If so, is there
a way to prevent this?

--
Troman

_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

 « Return to Thread: Prolog indexing.