Menu

#6 double tabling

closed
nobody
None
5
2004-08-18
2002-08-15
Anonymous
No

What is double tabling and how can I avoid it?
Why it causes inefficiency?

Discussion

  • David S. Warren

    David S. Warren - 2004-08-18

    Logged In: YES
    user_id=13069

    Cleanup:

    The double-tabling message comes from teh specialization
    code (that gives those messages about predicats that have
    been specialized.) There are situaitions in which add
    specialized versions of tabled predicates will cause tabling
    of two versions of the specialized forms when one calls the
    other. Thus the message. You can avoid it by turning
    specialization off. Do this by adding:

    :- compiler_options([spec_off]).

    or by compiling the file with:

    | ?- compile(codefile,[spec_off]).

     
  • David S. Warren

    David S. Warren - 2004-08-18
    • status: open --> closed
     

Log in to post a comment.