[m-rev.] for review: avoid memory allocation in version_hash_table
Julien Fischer
juliensf at csse.unimelb.edu.au
Mon Jun 30 13:09:53 AEST 2008
On Fri, 27 Jun 2008, Peter Wang wrote:
> Estimated hours taken: 0.1
> Branches: main
>
> library/version_hash_table.m:
> Don't wrap the user-supplied hash predicate (with two outputs) by a
> hash function (that returns a tuple of two values) to avoid an inst
> cast. Each lookup incurs an additional memory allocation to create
> the tuple.
That's fine.
Julien.
--------------------------------------------------------------------------
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