Boost logo

Boost :

Subject: Re: [boost] shared_ptr/shared_count and the cost of use counter allocation
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-09-10 12:39:21


Hendrik Schober 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.

Presumably this is the "special purpose allocator" mentioned on this
page or something like it:

   http://www.boost.org/doc/libs/1_36_0/libs/smart_ptr/smarttests.htm

However, I don't find any mention of BOOST_SP_USE_QUICK_ALLOCATOR in
the documentation. Have I missed something?

Is there a reason for not making BOOST_SP_USE_QUICK_ALLOCATOR the default?

Phil.


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