libbbb - dynstack

Home

The class allocates a large chunk of memory in the constructor then it uses a stack based allocator. Both allocating and freeing is very fast provided that the limit was not reached.

For requests that are larger than the buffer standard malloc is used.

Depedencies:

  • none

Related source code documentation: DynStack

Home