MCPcopy Create free account
hub / github.com/PerroEngine/Perro / ids.rs

File ids.rs

perro_source/core/perro_ids/src/ids.rs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1//! Type-safe generational identifiers (slotmap-style) for arenas.
2//! All IDs use u64 = index (low 32 bits) | generation (high 32 bits). Index 0 = nil.
3//! IDs are created by their owning arena/manager; slot reuse bumps generation so stale IDs are invalid.
4

Callers

nothing calls this directly

Calls 1

mix64Function · 0.85

Tested by

no test coverage detected