Class Specialization
Multi Pool Allocator
Allocator that pools memory blocks.
![]() | ![]() | ||||||
Multi Pool Allocator |
Include Headers
seqan/basic.h
Parameters
An allocator that is by the pool allocator used to allocate memory. Note: The multi pool allocator only supports clear if this function is also implemented for Default: Simple Allocator | |
The maximum size for memory blocks to be pooled. Note that memory blocks larger than Default: 256
Freed blocks are not immediately deallocated but recycled in subsequential allocations.
This way, the number of calls to the heap manager is reduced, and that speeds up memory management. |
Remarks
A pool allocator allocates several memory blocks at once.
Specialization of
Functions
Allocates memory from heap. (Allocator) | |
Deallocates all memory blocks. (Allocator) | |
Deallocates memory. (Allocator) |
Example Programs
See Also
SeqAn - Sequence Analysis Library - www.seqan.de