bubel.ecs.block_allocator

It's internal code.

Module contain memory allocator.

Members

Structs

BlockAllocator
struct BlockAllocator

Allocator allocate large blocks and return smaller blocks. When there is no more blocks then next large block is allocated. By default freeing memory only returns it to allocator. To free large memory chunks freeMemory function is used. freeMemory function return to system memory even if chunk blocks wasn't freed.

Meta

License

BSD 3-clause, see LICENSE file in project root folder.