Boost logo

Boost :

Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-25 18:27:34


On 25/04/12 21:48, Ivan Erceg wrote:

> VC++10's std::make_shared is still much faster (almost 35% faster than
> boost::shared_ptr) and we will be switching to it once we switch to VC++10.

std::shared_ptr is probably optimized for empty or default deleters.


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