[m-dev.] Globals and concurrency

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Aug 1 20:40:15 AEST 2006


On Tue, 1 Aug 2006, Michael Day wrote:

>
> Hi Julien,
>
>> A thought I had a while ago is that now we have mutables and the
>> `attach_to_io_state' attribute we should just get rid of io.{set,get}_globals.
>
> Last time I checked, the globals mechanism was giving us slightly better
> performance than the mutables, although I have no idea why, and would not
> have expected this behaviour.

That's odd - the two mechanisms are implemented almost identically.

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



More information about the developers mailing list