|
DynamicMemoryBlockT Class |
DynamicMemoryBlock creates an array of T structs that can be accessed with the
Data field.
It provides
GetNextFreeIndex method to get index of next free item in the Data array (this method sets the returned index as used).
The
FreeIndex(Int32) method frees the specified index.
The class is using a very memory efficient bits from an array of ulong values to mark which elements in the Data array are used and which are free.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax public class DynamicMemoryBlock<T>
where T : struct, new()
Type Parameters
- T
The DynamicMemoryBlockT type exposes the following members.
Constructors Properties Methods Fields See Also