BBlockCache

The BBlockCache class pre-allocates a pool of fixed-length blocks of memory. You call Get() to retrieve a block of memory from the pool, and Save() to return it. BBlockCache objects are useful in applications that frequently allocate and deallocate fixed-sized objects, and in the implementations of a class' new and delete operators.

Creative Commons License
Legal Notice
This work is licensed under a Creative Commons Attribution-Non commercial-No Derivative Works 3.0 License.