Boost logo

Boost :

Subject: Re: [boost] interest in structure of arrays container?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2016-10-22 02:36:21


On 10/21/2016 08:11 PM, Andreas Schäfer wrote:
> Heya,
>
> On 13:46 Sun 16 Oct , Michael Marcin wrote:
>>> Would something like an soa_vector, that's resizable at runtime and
>>> behaves much like a std::vector better suit your needs?
>>>
>>
>> Yes exactly that.
>
> just FYI: I've added a basic soa_vector to LibFlatArray's trunk[1].
> It's not perfect, but allows basic usage and particle callbacks (see
> test[2]). I'm looking forward to benchmarking that code. :-)

Maybe by modifying:

   https://github.com/cppljevans/soa/blob/master/codepad.eol6auRN.cpp

by inserting another struct, say LifFlatArray_emitter_t, which
uses soa_vector. I, and I guess, Michael, would be interested in
seeing the output from such a modification.

-regards,
Larry


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