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`.
.text: 15 B (5 x86_64 insns)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
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #793 | local_time_q16 (THIS CAPSULE) domain: time | id: 4cec3813dc502b0c664da2f03e180fa9 | 5481599/400000 cyc/op | 856583/200000 ns/op | 200000000/856583 ops/us | 15 B .text (5 insns) | + (1) | aye::Peter+Omni(0+1)::aarch64 @ 432Hz |