allocate a T-sized memory chunk
allocate an array of T* sized memory chunks
Invoked when a specific T*[] is discarded
Invoked when a specific T is discarded
Invoked when clear/reset is called on the host. This is a shortcut to clear everything allocated.
set the chunk size and prepopulate with nodes
GC Chunk allocator
Can save approximately 30% memory for small elements (tested with integer elements and a chunk size of 1000), and is at least twice as fast at adding elements when compared to the generic allocator (approximately 50x faster with LinkedList)
Operates safely with GC managed entities