theseyan/mimalloc.zig
Simple Zig Allocator interface over mimalloc.
A simple implementation of Zig's std.mem.Allocator
interface over the excellent mimalloc by Microsoft.
const mimalloc = @import("mimalloc").Allocator{};
const allocator = mimalloc.allocator();
// Use `allocator` here...
Run the tests:
zig build test