Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 347 Bytes

File metadata and controls

19 lines (13 loc) · 347 Bytes

mimalloc.zig

A simple implementation of Zig's std.mem.Allocator interface over the excellent mimalloc by Microsoft.

Usage

const mimalloc = @import("mimalloc").Allocator{};
const allocator = mimalloc.allocator();

// Use `allocator` here...

Tests

Run the tests:

zig build test