namespace Misaki.HighPerformance.Unsafe.Collections; public enum AllocationOption : byte { /// /// Allocator for uninitialized memory /// UnInitialized, /// /// Allocator for initialized memory. /// Clear, /// /// Allocator for untracked memory. /// Use this option carefully, as the allocation manager will not track the memory. /// No warning will be given if the memory is not freed. /// UnTracked } public enum Allocator : byte { // Make the first allocator as invalid because we don't want to user create a defualt collection without passing any parameters Invalid, /// /// Allocator for temporary allocations. Allocations are cleared after use. /// Temp, /// /// Allocator for persistent allocations. Allocations are not cleared after use. /// Persistent, }