Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Benchmark w/ Threading = 124% faster
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-29 22:25:16


On 03/27/2016 05:11 PM, Phil Bouchard wrote:
> On 03/27/2016 02:04 PM, Phil Bouchard wrote:
>> I just noticed that if I do not define the BOOST_DISABLE_THREADS macro,
>> root_ptr is faster than allocate_shared_noinit by 124%:
>>
>> unique_ptr (new): 42.1397
>> unique_ptr (make_unique): 43.4631
>> shared_ptr (new): 76.4543
>> shared_ptr (make_shared): 76.6611
>> shared_ptr (allocate_shared_noinit): 81.9926
>> root_ptr (new): 66.3417
>
> ... And the bjam file works fine now:
> https://github.com/philippeb8/root_ptr/blob/master/example/Jamfile.v2
>
> Just uncomment the following lines to use a local installation of Boost:
> #<library-path>/usr/local/lib
> #<dll-path>/usr/local/lib

... And I just fixed a nasty bug in one of the copy constructor of
root_ptr. Those who downloaded the package already please download it
again.

The full documentation is coming soon.

Thanks,
-Phil


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