Crates.io | slab-alloc |
lib.rs | slab-alloc |
version | 0.1.1 |
source | src |
created_at | 2017-09-03 01:44:09.145327 |
updated_at | 2017-09-03 01:46:20.766633 |
description | A fast, single-threaded object allocator. |
homepage | |
repository | https://github.com/ezrosent/allocators-rs/tree/master/slab-alloc |
max_upload_size | |
id | 30341 |
size | 111,221 |
The slab allocator. This crate implements an allocator whose design is based on Jeff Bonwick's The Slab Allocator: An Object-Caching Kernel Memory Allocator.
The slab allocator is an object allocator - it allocates and caches objects of a fixed type, and provides performance improvements over a general-purpose allocator. The allocator types in this crate implement the ObjectAlloc
and UntypedObjectAlloc
traits defined in the object-alloc crate. The slab allocator implemented in this crate is currently single-threaded and cannot be accessed concurrently.