Skip to main content

Module identity

Module identity 

Source
Expand description

Canonical IRI hashing (q_hash FNV-1a 64-bit), provider-scoped stable function IDs, and generational prepared runtime dispatch handles (VibeOpCode, PreparedCallHandle).

Structs§

CanonicalIri
Globally stable semantic identifier pairing an immutable IRI with its q_hash.
PreparedCallHandle
Prepared call token produced during the cold Prepare stage and consumed in $O(1)$ during the hot Admit -> Execute stages.
RegistryGeneration
Monotonic generation counter of the extension registry.
StableFuncId
Provider-scoped stable function identifier (sub_namespace_id, func_id).
VibeOpCode
Process-local 64-bit prepared dispatch handle: [ns_slot: u32][sub_id: u16][func_id: u16].

Constants§

FNV1A_64_OFFSET_BASIS
64-bit FNV-1a offset basis used across QualiaDB (qualia_core_db::q_hash) and vibe.
FNV1A_64_PRIME
64-bit FNV-1a prime used across QualiaDB (qualia_core_db::q_hash) and vibe.

Functions§

q_hash
Compile-time and runtime 64-bit FNV-1a hash over raw bytes (q_hash).
q_hash_str
Compile-time and runtime 64-bit FNV-1a hash over a UTF-8 string slice.