Boost logo

Boost :

From: Janek Kozicki (janek.listy.mailowe_at_[hidden])
Date: 2020-08-02 21:48:24


逸霖 杨 via Boost said: (by the date of Sun, 2 Aug 2020 00:20:13 +0000)

> Again, fighting against C++’s standard is never my purpose, making life easier with a new algorithm is.

I was using boost::singleton_pool with great results for a similar
purpose. It worked great.

#include <boost/pool/pool_alloc.hpp>

my computations got about 10% faster, because previously I was very
often reallocating memory.

cheers

-- 
# Janek Kozicki                              http://janek.kozicki.pl/

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