Crate blazemap

source ·
Expand description

Implements a vector-based slab-like map with an interface similar to that of HashMap, and also provides tools for generating lightweight identifiers that can be type-safely used as keys for this map.

Modules§

Macros§

  • Creates a new type that acts as an usize-based replacement for the old type that can be used as a key for blazemap collections.
  • Creates a new type that acts as an usize-based replacement for the old type that can be used as a key for blazemap collections. Being an analogue of define_key_wrapper for the case when the user could statically guarantee that the number of unique keys doesn’t exceed MAX_CAP, it’s optimized for read operations so that they don’t create any multi-thread contention.
  • Creates a new type based on incrementally generated usize instances that can be used as a key for blazemap collections.