Boost logo

Boost :

Subject: Re: [boost] Proposal: Monotonic Containers
From: Cory Nelson (phrosty_at_[hidden])
Date: 2009-06-09 23:14:51


On Tue, Jun 9, 2009 at 7:41 PM, Scott McMurray<me22.ca+boost_at_[hidden]> wrote:
> 2009/6/9 Cory Nelson <phrosty_at_[hidden]>:
>>
>> I would want to see it taken a step further though.  Overhead can be a
>> big deal for large objects, so re-implementing string and vector
>> completely (so that you don't have the pointer/capacity specified
>> twice, in container & allocator) would be a welcome change.
>>
>
> An implementation could already define new/delete and std::allocator
> in such a way that the allocation block size wasn't stored in the
> allocation system.

Yes, I should have gone into more depth -- I meant allocating large
objects with an arena allocator (just incrementing a pointer).

-- 
Cory Nelson
http://int64.org

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