Boost logo

Boost :

Subject: Re: [boost] interest in structure of arrays container?
From: Andreas Schäfer (gentryx_at_[hidden])
Date: 2016-10-22 04:31:14


Am 22. Oktober 2016 08:36:21 MESZ, schrieb Larry Evans <cppljevans_at_[hidden]>:
>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.

Good idea, that should be interesting. Will do!

Cheers
-Andreas

-- 
Sent from my mobile. No type gold.

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