[m-rev.] for review: comparison of preds/funcs
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Apr 13 02:26:27 AEST 2002
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.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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