Add pool based memory resource & allocator

A memory resource similar to std::pmr::unsynchronized_pool_resource, but
optimized for node-based containers.

Co-Authored-By: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
Martin Leitner-Ankerl
2022-06-11 09:23:51 +02:00
parent 2305643646
commit b8401c3281
8 changed files with 688 additions and 0 deletions

View File

@@ -261,6 +261,7 @@ BITCOIN_CORE_H = \
shutdown.h \
signet.h \
streams.h \
support/allocators/pool.h \
support/allocators/secure.h \
support/allocators/zeroafterfree.h \
support/cleanse.h \