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.