numanji 0.1.5

Local-affinity first NUMA-aware allocator with optional fallback
docs.rs failed to build numanji-0.1.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: numanji-0.1.4

Numanji

Local-affinity first NUMA-aware allocator with optional fallback.

This crate supplies NUMA-aware local policy enabled allocation.

When using autoselect

Fallback system is triggered with autoselect. If system is not supporting NUMA-aware allocation it falls back to Jemalloc.

When using NUMA-aware

If autoselect is not used, memmap fallback will be triggered with default system page size and it will be used as allocator.

Examples

// Allocator generator macro
#![feature(allocator_api)]
#![feature(nonnull_slice_from_raw_parts)]
use numanji::*;

// Do autoselect for allocator
autoselect!();

// Allocated by Numanji based on your Numa availability on your system.
let _vec = Vec::<usize>::with_capacity(1234);