Subject: Re: [boost] [Block Pointer] benchmark
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2011-05-24 19:18:08
> Your claim is " It is a fast as the popular smart pointer *
> boost::shared_ptr<T>*". Yet, in single-threaded code and shared_ptr using
> new instead of make_shared, block_ptr still takes 3.3x as long as
> That is *a lot* of overhead...
It would be interesting to see a comparison of random access pattern
times via block_ptr vs shared_ptr (both with and without make_shared).
If I've grokked the block_ptr implementation details correctly (low
probability but possible), I'd expect to see the comparison be more
favorable for block_ptr than the case Phil reported.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk