Boost logo

Boost :

Subject: Re: [boost] [cpo-proposal] About mixout container for polymorphic objects
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2013-09-17 10:02:25


On 17-09-2013 14:58, yuri kilochek 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.

For my application at least, the contained objects will be much larger
than the padding. So if that is what worries you, I don't think it should.

-Thorsten


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