13 Mar
2016
13 Mar
'16
2:22 a.m.
On Sat, Mar 12, 2016 at 9:08 PM, Phil Bouchard
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
Hi Phil, To add to our earlier discussion, you should also include the benchmark for allocate_shared() with fast_pool_allocator. 1. shared_ptr (new) 2. shared_ptr (make_shared) 3. shared_ptr (allocate_shared with fast_pool_allocator) 4. block_ptr 5. block_ptr (fastblock) 6. unique_ptr/auto_ptr (new/make_unique) Glen