//! Hilbert key derivation for spatial points.
//!
//! This is the single source of truth for turning a `DimensionVector` into the
//! `u128` Hilbert key used to order records and route range queries. Every layer
//! (storage, sync, indexing) must derive keys through here so precision never
//! drifts between code paths — a mismatch would silently corrupt `BTreeMap`
//! ordering across the sync boundary.
use crateDimensionVector;
use ;
/// Compute the Hilbert key for a point at the given precision.
///
/// An empty point maps to `0` so callers can key block minimums uniformly even
/// for degenerate records.
/// Compute the Hilbert key for a point using `KeyConfig::STANDARD` (8-bit) precision.
///
/// This is the default used by spaces that do not override their precision.