Skip to main content

Module constants

Module constants 

Source
Expand description

Compile-time sizing knobs: pre-allocation capacities and I/O buffer sizes.

These are best-effort hints to size collections and buffers up front so the hot paths reallocate less; they are not hard limits except where noted (e.g. capacity::FILE_CACHE_SIZE, which bounds the LRU).

Modules§

buffer
Buffer sizes for I/O operations.
capacity
Pre-allocation capacity hints to minimize reallocation overhead.
refresh
TUI refresh cadences.

Type Aliases§

FastHashMap
Hash map backed by ahash for fast, non-cryptographic hashing.
FastHashSet
Hash set backed by ahash for fast, non-cryptographic hashing.