Skip to main content

Crate anda_db_utils

Crate anda_db_utils 

Source
Expand description

Standalone utility types maintained alongside the AndaDB workspace.

The crate intentionally stays small and dependency-light. It provides UniqueVec, an insertion-ordered vector that rejects duplicates.

§Hashing

Hash-based structures in this crate use rustc-hash (FxHash) without a random seed, matching the rest of the AndaDB workspace. FxHash has no collision resistance: do not use these types where an adversary controls the hashed keys and hash-flooding (O(n²) degradation) is a concern.

Structs§

UniqueVec
A helper utility to efficiently push or extend a Vec with unique items.