Boost logo

Boost :

Subject: Re: [boost] [cpo-proposal] About mixout container for polymorphic objects
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-09-17 10:11:51


On Tue, Sep 17, 2013 at 4:58 PM, yuri kilochek <yuri.kilochek_at_[hidden]>wrote:

> On Sep 17, 2013 4:46 PM, "Santiago Tapia" <santiago.tapia_at_[hidden]> wrote:
> >
> > Hi all,
> >
> > I have design a new concept of container to be part of the cpo library.
> >
> > In summary, those containers will break down the inserted objects into
> > some elementary parts.
> >
> > Why do that?
> > Short answer: to save memory.
> I do believe this will also kill the cache in most cases.
>

It depends on data processing pattern. If this container performs AoS <->
SoA transformation, it can be useful for parallel/vectorized data
processing. However, I don't see how this container could be implemented
generically for arbitrary types. I would be interested to see such
implementation.


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