Subject: Re: [boost] interest in structure of arrays container?
From: Andreas Schäfer (gentryx_at_[hidden])
Date: 2016-10-21 21:11:53
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.
It's not perfect, but allows basic usage and particle callbacks (see
test). I'm looking forward to benchmarking that code. :-)
> I would also strongly prefer a tuple-like variadic template interface to
> a macro interface.
Yeah, macros are poor, but I wanted an interface where members have
sensible names (as opposed to first, second...) Not much options
-- ========================================================== Andreas Schäfer HPC and Supercomputing Institute for Multiscale Simulation Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany +49 9131 85-20866 PGP/GPG key via keyserver http://www.libgeodecomp.org ========================================================== (\___/) (+'.'+) (")_(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk