[m-rev.] Re: for review: parsing_utils improvements

Zoltan Somogyi zs at csse.unimelb.edu.au
Tue Sep 29 15:49:23 AEST 2009


On 29-Sep-2009, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
> Another compromise could be to set a flag in the src that indicates
> whether the mutable should be updated at all.  If you ran the parser
> outside the parse/4 predicate then the mutable would simply never be
> updated.

In some cases, testing whether you should do something is as expensive
as just doing it.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list