Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Allocator patterns from std.heap to std.alloc
Because allocations are such a core pattern within Zig, the various Allocators deserve a clear namespace of their own. Additionally a number of the various allocators may be misleading or confusing within the heap name namespace, e.g. `FixedBufferAllocator` where most of the examples and uses use stack based memory, and not heap. Additionally moving the various Allocators from `std.heap` into `std.alloc` also improves the stdlib namespace. Where `std.heap.ArenaAllocator` is now `std.alloc.Arena`.
- Loading branch information