purpleprotocol / mimalloc_rust

A Rust wrapper over Microsoft's MiMalloc memory allocator
MIT License
481 stars 42 forks source link

Add basic support for experimental arenas #110

Closed jess-sol closed 2 months ago

jess-sol commented 2 months ago

Adds:

Useful for allocating to static arenas of memory. Not sure if it makes sense to hide them behind an experimental feature flag? I could break them into an experimental.rs.

First time writing bindings for C code in Rust, so hopefully there aren't any dumb errors