ocean.util.container.cache.model.containers.ArrayPool

Basic preallocated pool of a fixed number of value type items, all items are stored in one dynamic array. Uses malloc() instead of D memory managed allocation for two reasons: 1. The exact size is specified at instantiation so allocating extra space as the D memory manager does is not desired. 2. The elements do not contain references to D memory managed objects so they can be invisible to the GC.

Members

Classes

ArrayPool
class ArrayPool(T)
GenericArrayPool
class GenericArrayPool

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).