Crates.io | mmap-alloc |
lib.rs | mmap-alloc |
version | 0.2.0 |
source | src |
created_at | 2017-09-03 01:32:33.989442 |
updated_at | 2018-02-09 18:29:12.759639 |
description | A simple allocator backed by memory mappings. |
homepage | |
repository | https://github.com/ezrosent/allocators-rs/tree/master/mmap-alloc |
max_upload_size | |
id | 30335 |
size | 62,454 |
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.