Boost logo

Boost :

Subject: Re: [boost] [shifted_ptr] Review Request
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-04-06 04:51:55


On 4/6/2011 1:08 AM, Olaf van der Spek wrote:
> On Wed, Apr 6, 2011 at 3:15 AM, Phil Bouchard<philippe_at_[hidden]> wrote:
>> - shared_ptr<> shouldn't be used for performance critical applications
>
> Why not?

You'll find a comparison in speed of all smart pointer types here and
you will see "special" & "simple" counted being slower than intrusive_ptr:
http://www.boost.org/doc/libs/1_46_1/libs/smart_ptr/smarttests.htm

-Phil


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