SimpleArrayAllocator

Allocator for array, which is used internally for temporary data.

struct SimpleArrayAllocator (
T
size_t blockSize = 4 * 1024 - 32
) {}

Members

Functions

allocate
T[] allocate(U value, size_t num)

Allocate array.

clearAll
void clearAll()

Clear all referenced data, so it can be reused.

Manifest constants

classSize
enum classSize;
Undocumented in source.
classesPerBlock
enum classesPerBlock;
Undocumented in source.

Meta