WPILibC++ 2025.1.1
|
A BucketDistribution
for memory_pool_collection defining that there is a bucket, i.e.
More...
#include <wpi/memory/memory_pool_collection.hpp>
Public Types | |
using | type = detail::log2_access_policy |
A BucketDistribution
for memory_pool_collection defining that there is a bucket, i.e.
pool, for each power of two. That means for each power of two up to an upper bound there will be a separate free list. Allocating a node will only waste half of the memory.