Skip to content
/ Slots Public

Fixed size data structure with constant-time operations.

License

Notifications You must be signed in to change notification settings

bugadani/Slots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Fixed size data structure with constant-time operations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages