Skip to main content

Module util

Module util 

Source
Expand description

Small utility helpers shared across the engine: byte-slice helpers, numeric parsing, time, address resolution, and the typed map abstractions that wrap third-party data structures.

The Cassandra-style estimated histogram lives next to its only consumer in [crate::stats::histogram].

Modulesยง

atoi
Numeric parsing helpers for fixed-length ASCII decimal slices.
dict
Typed hash-map wrappers over ahash::AHashMap.
dyn_string
Byte-slice helpers that complement bytes::Bytes and String.
rbtree
Ordered key/value map with a lower_bound operation.
sockinfo
Socket address resolution.
time
Wall-clock and digit-counting helpers.