Boost logo

Boost :

Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Ivan Erceg (ierceg_at_[hidden])
Date: 2012-04-26 09:17:27


Yuriy Zubritsky <mt.wizard <at> gmail.com> writes:

>
> Sure, I've attached it to ticked # 6829 I created :)
> Sorry, I had no time to tell about it till now
>

:) Thanks. I have adapted your code to be more in SmartPtr style and added
#defines leaving non-MSVC part intact. It certainly works much faster though
std::make_shared on VC10 is still a bit faster on my box (less than
5% though).

Once I test my changes and make sure I got all the repetitive code right I'll
attach it to your ticket.

Thanks,
Ivan


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