Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Up to 600% faster than Shared Pointer
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2016-03-13 12:51:37


On Sun, Mar 13, 2016 at 12:44 PM, Phil Bouchard <philippeb8_at_[hidden]> 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").

Glen


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