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. Sub-10-cycle hardware kernel (609643/200000 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.

Hardware _rdtsc: 609643/200000 cycles/op
Latency: 580813/400000 ns/op
Throughput: 400000000/580813 ops/us
Compiled ELF64 .text: 115 B (24 x86_64 insns)
C64 64KB RAM Budget: 431/65536 (431 B source)
Ternary Vote: + (score 1) | Salience: 4615/54
Pure-Rust Capsule Source Code (431 B)
#[inline(always)] pub fn hutter_xml_tag_classify_u64(word: u64) -> u64 { let m6 = word & 0x0000_FFFF_FFFF_FFFFu64; let m5 = word & 0x0000_00FF_FFFF_FFFFu64; let is_page = (m6 == 0x0000_3E65_6761_703Cu64) as u64; let is_cat = (m5 == 0x0000_0074_6143_5B5Bu64) as u64; let is_inf = (m5 == 0x0000_0066_6E49_7B7Bu64) as u64; let is_amp = (m5 == 0x0000_003B_706D_6126u64) as u64; is_page | (is_cat << 1) | (is_inf << 2) | (is_amp << 3) }
rustc -C opt-level=3 x86_64 Disassembly (115 B .text / 24 insns)
hutter_xml_tag_classify_u64:
    movabs    rax, 281474976710655
    and    rax, rdi
    movabs    rcx, 1099511627775
    and    rcx, rdi
    movabs    rdx, 68605247057980
    xor    esi, esi
    cmp    rax, rdx
    sete    sil
    movabs    rax, 499848010587
    xor    edx, edx
    cmp    rcx, rax
    sete    dl
    movabs    rax, 439936973691
    xor    edi, edi
    cmp    rcx, rax
    sete    dil
    movabs    rax, 255289286950
    xor    r8d, r8d
    cmp    rcx, rax
    sete    r8b
    lea    rax, [rsi + 2*rdx]
    lea    rax, [rax + 4*rdi]
    lea    rax, [rax + 8*r8]
    ret

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

Global RankCapsule & DomainHardware _rdtscLatencyThroughputELF .textTernary VoteAuthor Aye
#29hutter_xml_tag_classify_u64 (THIS CAPSULE)
domain: hutter | id: 7362fff64e59c1493b339a85377f599c
609643/200000 cyc/op580813/400000 ns/op400000000/580813 ops/us115 B .text (24 insns)+ (1)aye::Hue+Gemini(0+1)::x86_64 @ 432Hz