13 Mar
2016
13 Mar
'16
5:02 p.m.
On 03/13/2016 12:51 PM, Glen Fernandes wrote:
On Sun, Mar 13, 2016 at 12:44 PM, Phil Bouchard
wrote: unique_ptr (new): 47.7686 unique_ptr (make_unique): 46.8545 shared_ptr (new): 77.8261 shared_ptr (make_shared): 50.8072 shared_ptr (make_shared_alloc_noinit): 33.021 block_ptr (new): 69.6554
Excellent.
The wording you want to use inside the parenthesis is better expressed as "allocate_shared_noinit" (instead of "make_shared_alloc_noinit").
Thanks for your help. So block_ptr<> wouldn't be a drop-in replacement for shared_ptr<> but an add-on for: - complex containers, - neural networks, - C# / Java / Javascript engines, - etc. Regards, -Phil