[m-rev.] for review: speed up lexer.m

Ralph Becket rafe at csse.unimelb.edu.au
Mon May 19 19:06:55 AEST 2008


Zoltan Somogyi, Monday, 19 May 2008:
> On 16-May-2008, Zoltan Somogyi <zs at csse.unimelb.edu.au> wrote:
> > I am working on another change that speeds up the same piece of code,
> > by turning all those nested if-then-elses in get_token etc into switches.
> 
> Here it is, for review by anyone.

That looks very neat to me.
--------------------------------------------------------------------------
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