Allocator that performs most small allocations on the stack, then falls over to malloc/free when necessary.
QuickAllocator!1024 quick; void[] mem = quick.allocate(1_000); assert (mem); quick.deallocate(mem); mem = quick.allocate(10_000); assert (mem); quick.deallocate(mem);
See Implementation
Allocator that performs most small allocations on the stack, then falls over to malloc/free when necessary.