[m-rev.] for review: speed up boxing of foreign types
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Aug 21 16:20:17 AEST 2007
On Tue, 21 Aug 2007, Peter Wang wrote:
> Branches: main
>
> runtime/mercury_heap.h:
> Provide fast paths in MR_MAYBE_BOX_FOREIGN_TYPE and
> MR_MAYBE_UNBOX_FOREIGN_TYPE for the case where the foreign type has
> the same size as the box.
>
> An implementation of the RC4 cipher using bitmaps was ~6x faster on
> neptune with this change in asm_fast.gc. In hlc.gc there was no
> difference.
That diff looks fine.
I am curious about why there was no difference in the hlc grade.
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