Skip to main content

Crate cratos_swiss

Crate cratos_swiss 

Source

Structs§

Iter
Scan-order batched iteration cursor over a SwissTable. Borrows the table immutably for its lifetime. Single-threaded (no locks) — matches the phase-1 SwissTable contract.
PtrHashIndex
PtrHashIndexBuilder
PtrHashIndexConfig
RustHashIter
Snapshot batched iteration cursor over a RustHashMap. Owns a copy of the entries captured at construction time; the table may be mutated while this cursor is live. next_batch(k) is O(1) per batch.
RustHashMap
SwissConfig
SwissTable
ValueStore
Tagged value store: dense longs for the Long fast path, arena for bytes. tags[idx] + longs[idx] stay adjacent so a Long read is one cache-line.

Enums§

Key
MphfKey
PtrHashIndexBuildProfile
PtrHashIndexSharding
RustKey
Tagged key mirroring crate::Key: Long keys are stored inline (no allocation); Bytes keys own their bytes. The enum discriminant gives the same tag-aware separation as SwissTable — a byte[] query whose bytes equal a Long key’s little-endian form does NOT collide with it, because they are different variants.
SwissError
Value
ValueTag

Type Aliases§

Result