Allocates memory from the pool for the given amount of elements.
How many elements to allocate from the pool.
A slice of the allocated memory.
See Implementation
Allocates memory from the pool for the given amount of elements.