mmap-alloc 0.2.0

A simple allocator backed by memory mappings.

mmap-alloc Docs

An allocator that is backed by directly mapping memory pages.

The MapAlloc type defined by this crate implements the Alloc and ObjectAlloc traits by directly mapping memory pages from the kernel (mmap/munmap on POSIX systems and VirtualAlloc/VirtualFree on Windows). It also allows pages to be committed or uncommitted.