[mercury-users] Bug in lexer.m

Nicholas Nethercote njn at csse.unimelb.edu.au
Thu Jul 17 19:19:11 AEST 2008


On Thu, 17 Jul 2008, Julien Fischer wrote:

>>> I just made a change like this to the Zinc lexer, which is structured 
>>> similarly, and got a nice speedup (I think it was about 20--30%, 
>>> although I didn't measure it all that carefully).
>> 
>> Isn't there a complier optimization or two that are supposed to help
>> here?  By packing and unpacking tuples?
>
> There is, but it is not enabled by default, it doesn't really work
> across module boundaries and it requires feedback to work out where
> to do the tupling.

I think I was compiling at a low optimisation setting, but it sounds like a 
higher one wouldn't have helped much anyway.

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



More information about the users mailing list