GitHub - theseyan/mimalloc.zig: Simple Zig Allocator interface over mimalloc. · GitHub
Skip to content

theseyan/mimalloc.zig

Folders and files

Repository files navigation

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

About

Simple Zig Allocator interface over mimalloc.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages