Crates.io | slabigator |
lib.rs | slabigator |
version | 0.9.2 |
source | src |
created_at | 2022-06-22 17:46:53.978572 |
updated_at | 2024-03-17 22:02:34.269848 |
description | A linked list that doesn't do dynamic memory allocations |
homepage | https://github.com/jedisct1/rust-slabigator |
repository | https://github.com/jedisct1/rust-slabigator |
max_upload_size | |
id | 611031 |
size | 19,971 |
A linked list that doesn't do dynamic memory allocations.
Things it was designed to do:
Dumb, small, maintainable, zero dependencies.
Cargo features:
releasefast
: assume that remove()
will always be called with a valid index. This saves some memory, but has to be used with extreme caution. That feature is not set by default.slot_u32
: use u32
as the slot type (default)slot_u64
: use u64
as the slot typeslot_usize
: use usize
as the slot type