RegionAllocator

Classic region. Compose over another allocator to allocate values in bulk (minimum of BLOCKSIZE). No deletion, but is slightly faster that FreeListAllocator. BASE_TYPE indicates the type used for upstream allocations. It is not possible to bulk-allocate types smaller than BASE_TYPE, or those the size of which is not divisible by BASE_TYPE's size. (This restriction allows for allocations of single BASE_TYPE-sized items to be a little faster.)

deprecated
struct RegionAllocator (
BASE_TYPE = void*
size_t BLOCKSIZE = 1024
alias ALLOCATOR = heapAllocator
) {}

Members

Mixins

__anonymous
mixin AllocatorCommon
Undocumented in source.

Structs

Data
struct Data
Undocumented in source.

Templates

Impl
template Impl(alias data)
Undocumented in source.

Mixed In Members

From mixin AllocatorCommon

StorageType
alias StorageType = ae.utils.meta.StorageType
Undocumented in source.
VALUE_TYPE
alias VALUE_TYPE = StorageType!ALLOCATOR_TYPE
Undocumented in source.
BASE_VALUE_TYPE
alias BASE_VALUE_TYPE = StorageType!BASE_TYPE
Undocumented in source.

Meta