[mercury-users] tabling
Tyson Dowd
trd at cs.mu.OZ.AU
Tue Nov 28 22:53:28 AEDT 2000
On 28-Nov-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> Hi,
>
> I have a question about tabling.
>
> If we have a predicate with the following declaration,
>
> :- pragma memo(is_some_condition/3).
> :- pred is_some_condition(int::in, string::in, map(int, string)::in) is semidet.
>
> We observe a dramatic slow down when adding the memo pragma, I assume
> that this is because the map argument is quite large and the same in
> each call leading to a lot of very expensive comparisons. Is this
> correct?
I would say this is very likely.
--
Tyson Dowd #
# Surreal humour isn't everyone's cup of fur.
trd at cs.mu.oz.au #
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list