Subject: Re: [boost] shared_ptr/shared_count and the cost of use counterallocation
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-10 13:46:05
> On Wed, Sep 10, 2008 at 2:29 AM, Hendrik Schober <spamtrap_at_[hidden]> wrote:
>> In the end I just #define'd 'BOOST_SP_USE_QUICK_ALLOCATOR' and on my
>> platform that was faster than 3 out of 4 of the proprietary allocators
>> used. So I'll go ahead and test this on the other platforms we need.
>> If it works just as well there, I'll merge my changes into the trunk.
> Also, make_shared could be used to get rid of the separate allocation
> for the count.
There is also allocate_shared, which is the same as make_shared, but with an
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk