[m-rev.] For review: Convert Mercury terms to XML
Ralph Becket
rafe at cs.mu.OZ.AU
Mon Dec 6 12:48:00 AEDT 2004
Ian MacLarty, Monday, 6 December 2004:
> Why don't grades that don't support memoing just ignore the pragma? I
> put memoing on this predicate because it's going to be called often
> with the same input. The memo table should have at most (2 * the
> number of functors for the type) entries so I wouldn't imagine it would
> get too big.
Okay, that doesn't sound so bad to me.
> Also the user can't really add a wrapper memoed predicate as
> get_element/2 is called from predicates that do IO.
You could plumb a flag argument through... but I wouldn't bother.
-- Ralph
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list