Skip to main content

Crate ultraslayer

Crate ultraslayer 

Source
Expand description

UltraSlayer – a DRAM‑refresh‑stall‑immune memory slab.

The public API is intentionally small:

  • UltraSlayer<T> – the high‑performance slab itself.
  • HugeSlab<T> – the low‑level backing allocator.
  • ArchConfig – CPU‑affinity / NUMA helpers.
  • SpinPolicy – runtime spin‑policy selector.
  • ShmSlab<T> – POSIX shared‑memory wrapper (optional).
  • Slice<T> – zero‑copy view into a slab.
  • (optional) C‑FFI side‑car when the sidecar feature is enabled.

The library is deliberately no_std‑compatible inside the core, but the public wrapper uses the standard library for convenience.

Re-exports§

pub use reader::SpinPolicy;
pub use reader::UltraSlayer;
pub use slab::HugeSlab;
pub use arch::ArchConfig;

Modules§

arch
Architecture‑specific helpers (CPU pinning, NUMA, etc.).
reader
The high‑level slab type (UltraSlayer<T>) and its public methods.
slab
Low‑level memory‑allocation and mirroring logic.