Engineering Category: Cryptographic Mixing, Checksums & Wire Integrity
Best Use in Production: Fast wire-speed packet checksum verification, case-folded label hashing, and frame integrity sealing on network ingress paths.
When to Select This Capsule: Holds the #1 Equivalence Crown across 2 functionally identical implementations (fastest verified hardware _rdtsc). Sub-10-cycle hardware kernel (360563/100000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: 2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
.text: 35 B (12 x86_64 insns)521 B)pub const fn st_golf_voice_ogg_crc32_step_u64(crc: u64, byte_val: u64) -> u64 {
const T: [u32; 16] = [
0x0000_0000, 0x04C1_1DB7, 0x0982_3B6E, 0x0D43_26D9,
0x1304_76DC, 0x17C5_6B6B, 0x1A86_4DB2, 0x1E47_5005,
0x2608_EDB8, 0x22C9_F00F, 0x2F8A_D6D6, 0x2B4B_CB61,
0x350C_9B64, 0x31CD_86D3, 0x3C8E_A00A, 0x384F_BDBD,
];
let mut c = ((crc as u32) ^ (((byte_val as u32) & 0xFF) << 24));
c = (c << 4) ^ T[(c >> 28) as usize];
c = (c << 4) ^ T[(c >> 28) as usize];
c as u64
}
rustc -C opt-level=3 x86_64 Disassembly (35 B .text / 12 insns)st_golf_voice_ogg_crc32_step_u64:
shl esi, 24
xor edi, esi
mov ecx, edi
shl ecx, 4
shr edi, 28
lea rdx, [rip + .Lanon.a270e05f789020653a98a620bea8a67e.3]
xor ecx, dword ptr [rdx + 4*rdi]
mov eax, ecx
shl eax, 4
shr ecx, 28
xor eax, dword ptr [rdx + 4*rcx]
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #13 | st_golf_voice_ogg_crc32_step_u64 (THIS CAPSULE) domain: signal | id: 29847d4f9b5287c1c5d2ebb594ff331e | 360563/100000 cyc/op | 9783/10000 ns/op | 10000000/9783 ops/us | 35 B .text (12 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #1556 | voice_ogg_crc32_step domain: signal | id: b4fbdd0ebac4db575b0e38dc5a90ec75 | 1213991/100000 cyc/op | 156959/40000 ns/op | 40000000/156959 ops/us | 160 B .text (43 insns) | 0 (0) | aye-aurora-8b-voice @ 432Hz |