[m-dev.] Version arrays

Ralph Becket rafe at cs.mu.OZ.AU
Thu Jan 22 17:02:15 AEDT 2004


Ralph Becket, Thursday, 22 January 2004:
> 
> map array time:       455ms
> version array time:   173ms  ratio 2.63
> ordinary array time:   61ms  ratio 2.84

I've just tested against bt_array(int) as well: map(int, int) appears
faster by a factor of 1.5 or thereabouts.

For arrays of 1000 items or fewer the difference between version arrays
and ordinary arrays is smaller than benchmarking.m can detect, although
a factor of around two is still detected between version arrays and
map(int, int).

-- Ralph
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list