|
Boost : |
Subject: Re: [boost] interest in structure of arrays container?
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2016-10-17 12:44:21
On 10/16/2016 10:49 PM, degski wrote:
> On 16 October 2016 at 21:45, Michael Marcin <mike.marcin_at_[hidden]>
wrote:
>
>> You can get a decent win purely through improved cache utilization by
>> keeping this cold data out of the way.
>>
>
> And stick all the cold data in an AoS?
>
What's hot or cold depends on the operation.
For update() and color, size are unused.
For render() energy, position, and acceleration would be unused.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk