[m-rev.] diff: specialised MethodPtr interfaces
    Peter Wang 
    novalazy at gmail.com
       
    Fri Sep  4 10:22:51 AEST 2009
    
    
  
On 2009-09-03, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> 
> Hi Peter,
> 
> On Thu, 3 Sep 2009, Peter Wang wrote:
> 
> >Branches: main
> >
> >On the Java backend, use specialised MethodPtr interfaces so that when calling
> >a method pointer input arguments do not have to be passed via a temporary
> >array, for arities up to 15.  For higher arities the temporary array is still
> >used.
> 
> How much of a difference does this make?
Summing 0..1000000 one hundred times, with higher order calls to `int.plus':
Before: 6505 ms
After:  4130 ms
Peter
--------------------------------------------------------------------------
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