|
Boost : |
Subject: Re: [boost] [pool2] Requests for comment
From: jiangzuoyan_at_[hidden]
Date: 2012-10-09 22:24:04
Hi Etienne,
I'd like to see a big performance(in time) improvement. At last test, I saw
boost::pool was slower than new.
Changsheng Jiang
On Tue, Oct 9, 2012 at 5:18 PM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Tue, Oct 9, 2012 at 9:32 AM, DUPUIS Etienne <e.dupuis_at_[hidden]> wrote:
> > - From a pool, I can implement a pool_allocator which inherits
> from std::allocator, exactly like it was done in the original boost::pool.
> Do we need something else ?
>
> Hi Etienne,
>
> I'd like to see a linear allocator. An arena/pool from which objects
> of multiple sizes can be allocated, but memory isn't reused and only
> freed once the pool is destroyed.
>
> And a pool that also supports objects of multiple sizes which does
> support memory reuse (for use with containers).
>
> Olaf
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk