[m-rev.] for review: more efficient operator lookups

Ralph Becket rafe at csse.unimelb.edu.au
Mon Sep 25 12:30:09 AEST 2006


Zoltan Somogyi, Monday, 25 September 2006:
> For review by anyone. The diff to mercury_compile.m is not meant to be
> committed; it was used only for measuring the performance impact. The results
> showed that the time required to write out the HLDS for four of the largest
> modules of the Mercury compiler went from 19.48, 4.96, 5.74 and 4.42 seconds
> to 19.10, 4.80, 5.59 and 4.26 seconds respectively.
> 
> Zoltan.
> 
> library/ops.m:
> 	Change the representation of operators to allow a single lookup to
> 	gather all available information about an operator.

That looks great - the simplification of the interface is probably of
greater benefit than any increase in efficiency.
--------------------------------------------------------------------------
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