$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Zero-malloc memory pool for Boost Intrusive smart pointers
From: Francesco (francesco.montorsi_at_[hidden])
Date: 2019-03-22 00:09:57
Hi all,
I have developed for my needs a C++11 memory pool that can provides C++
object instances in the form of boost::intrusive_ptr<> that automatically
return to the pool once their refcount goes to zero.
I found the need for such memory pool to have a zero-malloc memory pool
algorithm for some performance-oriented applications that were relying on
std::shared_ptr<>.
Here's the link in case anybody is interested:
https://github.com/f18m/boost-intrusive-pool
with some (initial) benchmark as well.
I thought that this may be useful to anybody else already using Boost
intrusive pointers as well...
Any comment is welcome!
Francesco Montorsi