Skip to main content

Module cb_usri

Module cb_usri 

Source
Expand description

Compact Binary USRI (CB-USRI) for zero-heap hot paths (OCS §13.2).

16-byte fixed-size binary representation of a USRI for use in Tier-1 hot paths, NQuin context fields, and GPU/WASM ABI.

Layout (OCS §13.2):

Bits [0..55]   : 56-bit FNV-1a Hash of (realm_class : universe_id : branch_id : path)
Bits [56..63]  : 8-bit Realm Class Index
Bits [64..79]  : 16-bit Hierarchy Level & Nesting Depth Index (L_-2..L_12, Depth k)
Bits [80..127] : 48-bit Anchor / Local Coordinate Hash

Reference: OCS Specification v2.2.0 §13.2.

Structs§

CompactBinaryUsri
Compact Binary USRI — 16-byte fixed-size (OCS §13.2).

Enums§

HierarchyLevel
Hierarchy level index (OCS §3.1, §4, §5).