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. Sub-10-cycle hardware kernel (3208929/400000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
.text: 21 B (7 x86_64 insns)213 B)pub fn borg_c_flug_esp32_ring_step(sample: u64) -> u64 {
let slot = sample & 0xFFFF;
let env = (sample >> 16) & 0xFFFF;
let filtered = (slot.wrapping_mul(3) + env) >> 2;
(filtered ^ 432) & 0xFFFF
}
rustc -C opt-level=3 x86_64 Disassembly (21 B .text / 7 insns)borg_c_flug_esp32_ring_step:
movzx eax, di
shr edi, 16
lea eax, [rax + 2*rax]
add eax, edi
shr eax, 2
xor rax, 432
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #160 | borg_c_flug_esp32_ring_step (THIS CAPSULE) domain: audio | id: 4186f28138880bb530e8ae4cf872e89e | 3208929/400000 cyc/op | 1069643/400000 ns/op | 400000000/1069643 ops/us | 21 B .text (7 insns) | + (1) | aye-a6000-prime @ 432Hz |