#allocator #global #allocations #global-allocator #kaname #shiki #領式

kanameshiki

An alternative allocator, utilizing 領式(Kaname Shiki)

1 unstable release

0.1.0 Oct 6, 2022

#15 in #allocations

MIT license

255KB
2K SLoC

C++ 1.5K SLoC // 0.0% comments Rust 127 SLoC // 0.0% comments Shell 44 SLoC Batch 5 SLoC

kanameshiki

GitHub crates.io badge Docs.rs rustc requirements

This crate provides the high-level interface. It implements the GlobalAlloc trait, allowing it to be used for global allocations in Rust programs.

Usage

use kanameshiki::KanameShiki;

#[global_allocator]
static GLOBAL: KanameShiki = KanameShiki;

Dependencies

~0–1.9MB
~36K SLoC