Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-07-30 09:30:52


From: <scleary_at_[hidden]>

> Back when shared_ptr<> was being designed, Dave Abrahams (I think it was
> him, anyway) did some speed testing with a shared_ptr<> that took its
> counter from a handmade pool -- and IIRC, it showed some favorable
results.

Yep, it took me about ten minutes to put together a count pool
implementation using a deque. I think things may be a little more
complicated now that we have shared_count, but boost::pool should be able
to help with that.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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