1

I am trying to find out which way of finding an answer to a query in prolog is faster.

For instance, if

employee('John',23). rule2('John', 'Likes to play basketball').

if faster than:

employee('John', '23').
rule2(employee('John,_),'Likes to play basketball').
false
  • 10,264
  • 13
  • 101
  • 209
JuanBrk
  • 11
  • 4
  • 2
    Please see the related question: [How to test the performance of a Prolog program?](http://stackoverflow.com/q/4582822/1613573) – mat Oct 14 '15 at 21:50

0 Answers0