Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Up to 600% faster than Shared Pointer
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-12 21:08:23

On 03/11/2016 09:38 PM, Phil Bouchard wrote:
> - Once again all the examples can be found here:
> - And the pointer itself here:

I just did a heavy code cleanup and I took the stack / heap detection
code out because it is now based on explicit proxies.

Also block_ptr<> is now distinct from the allocator used.

Finally the class fastblock<> is properly abstracted and it is easy to
add user defined block types just like this one:

template <typename T>
     class fastblock : public block<T, fast_pool_allocator<T> >
         typedef block<T, fast_pool_allocator<T> > base;

         fastblock() : base()



Boost list run by bdawes at, gregod at, cpdaniel at, john at