Boost logo

Boost :

Subject: Re: [boost] [review] Heaps
From: Andrew Sutton (asutton.list_at_[hidden])
Date: 2011-06-03 14:42:56


>> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk