
3 Jun
2011
3 Jun
'11
6:42 p.m.
How would you specify locality? A metafunction on the object size and other configuration parameters (page size, cache line width, etc?).
grouping more objects will make the algorithm slower in terms of instructions, but faster since one will access multiple objects are in adjacent memory regions ... i would simply expose this parameter to the user and encourage experimentation ...
Yes, but what form will the parameter take? Andrew