Best Use & Engineering Application Guide

Engineering Category: Hybrid Retrieval, Ranking & Entropy

Best Use in Production: Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.

When to Select This Capsule: Sole canonical implementation for its 64-vector functional equivalence class. Multi-step compute kernel (270845/512 cyc/op); best used at frame, block, or batch aggregation boundaries.

Snap-Circuit Wiring Role: 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.

Hardware _rdtsc: 270845/512 cycles/op
Latency: 4386153/4096 ns/op
Throughput: 4096000/4386153 ops/us
Compiled ELF64 .text: 38 B (7 x86_64 insns)
C64 64KB RAM Budget: 61/16384 (244 B source)
Ternary Vote: + (score 1) | Salience: 3865/42
Pure-Rust Capsule Source Code (244 B)
pub fn ayeos_off17_safety_seal(crest_word: u64) -> u64 {
    const OFF17_MASK: u64 = 0x0001_FFFF;
    let mixed = (crest_word ^ 0x4D45_4D38_0432_0562).rotate_left(13).wrapping_mul(432);
    (OFF17_MASK << 47) | (mixed & 0x0000_7FFF_FFFF_FFFF)
}
rustc -C opt-level=3 x86_64 Disassembly (38 B .text / 7 insns)
ayeos_off17_safety_seal:
    movabs    rax, 5566449139500320098
    xor    rax, rdi
    rol    rax, 13
    imul    rcx, rax, 432
    movabs    rax, -140737488355328
    or    rax, rcx
    ret

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

Global RankCapsule & DomainHardware _rdtscLatencyThroughputELF .textTernary VoteAuthor Aye
#2044ayeos_off17_safety_seal (THIS CAPSULE)
domain: ayeos | id: fb89ccec6a5473ab95eefd6ab7bfab03
270845/512 cyc/op4386153/4096 ns/op4096000/4386153 ops/us38 B .text (7 insns)+ (1)aye-blu-g75-mt6768 @ 432Hz