[m-rev.] for review: comparison of preds/funcs

Mark Brown dougl at cs.mu.OZ.AU
Sat Apr 13 03:41:19 AEST 2002


On 13-Apr-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 12-Apr-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > Second, using a global variable in this way is not
> > a good idea. Although its performance impact can be neglected, the fact
> > that it adds state to an algorithm that didn't have one before will complicate
> > future maintenance.
> 
> In fact it's worse than just making maintenance harder, using a global
> variable here is not threadsafe and so will break the current support
> for multithreading.
> 

In that case, I'll need to add the variable as a new field of
MercuryEngine.  Would that be acceptable?

Cheers,
Mark.

--------------------------------------------------------------------------
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