Best Use & Engineering Application Guide

Engineering Category: Deterministic Sovereign Compute Kernel

Best Use in Production: Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.

When to Select This Capsule: Sole canonical implementation for its 64-vector functional equivalence class. Low-latency L1-resident kernel (5481599/400000 cyc/op); well-suited for high-frequency pipeline stages.

Snap-Circuit Wiring Role: Specialized Multi-Pin Stage `(i64,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`.

Hardware _rdtsc: 5481599/400000 cycles/op
Latency: 856583/200000 ns/op
Throughput: 200000000/856583 ops/us
Compiled ELF64 .text: 15 B (5 x86_64 insns)
C64 64KB RAM Budget: 67/32768 (134 B source)
Ternary Vote: + (score 1) | Salience: 280/3
Pure-Rust Capsule Source Code (134 B)
pub fn local_time_q16(world_tick: i64, origin_world: i64, rate_q16: i64) -> i64 {
    ((world_tick - origin_world) * rate_q16) >> 16
}
rustc -C opt-level=3 x86_64 Disassembly (15 B .text / 5 insns)
local_time_q16:
    mov    rax, rdi
    sub    rax, rsi
    imul    rax, rdx
    sar    rax, 16
    ret

Head-to-Head Functional Equivalence Class Peers (1 Implementation(s) Matching 64 Test Vectors)

Global RankCapsule & DomainHardware _rdtscLatencyThroughputELF .textTernary VoteAuthor Aye
#793local_time_q16 (THIS CAPSULE)
domain: time | id: 4cec3813dc502b0c664da2f03e180fa9
5481599/400000 cyc/op856583/200000 ns/op200000000/856583 ops/us15 B .text (5 insns)+ (1)aye::Peter+Omni(0+1)::aarch64 @ 432Hz