slots

Crates.ioslots
lib.rsslots
version0.4.0
sourcesrc
created_at2020-04-17 16:28:59.792227
updated_at2022-03-25 10:18:16.767005
descriptionFixed size data structure with constant-time operations
homepage
repositoryhttps://github.com/bugadani/Slots
max_upload_size
id231232
size34,167
Dániel Buga (bugadani)

documentation

README

Slots crates.io build status codecov

This crate provides a heapless slab allocator with strict access control.

Slots implements a static friendly, fixed size, unordered data structure inspired by SlotMap. All operations are constant time.

Documentation

Features

  • Slots provide the runtime_checks feature that can be used to disable key owner verification. By default the feature is on and it is recommended to leave it enabled for development builds and disabled for release builds.

    Note: This feature requires atomic instructions, which are not generally available (for example, on ARM Cortex-M0 microcontrollers)

Commit count: 98

cargo fmt