|
ADS
Algorithms and Data Structures
|
A standard allocator over pools of size classes, beyond the book, so that the containers of the standard library and std::allocate_shared take their nodes from pages of slots of one size instead of the general allocator. More...
Files | |
| file | ADS/memory/PoolAllocator.h |
| A standard allocator over pools of size classes, beyond the book, so that the containers of the standard library and std::allocate_shared take their nodes from pages of slots of one size instead of the general allocator. | |
Classes | |
| class | ADS::PoolResource< M > |
| pools of the size classes of 8 bytes up to \( M \), for one thread at a time More... | |
| class | ADS::PoolAllocator< T, R > |
| the standard allocator of objects of type T over the resource R More... | |
A standard allocator over pools of size classes, beyond the book, so that the containers of the standard library and std::allocate_shared take their nodes from pages of slots of one size instead of the general allocator.
The definitions, the invariants and the costs of the area are in Theory of memory.