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. Sub-10-cycle hardware kernel (1/1 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
.text: 38 B (8 x86_64 insns)240 B)pub fn ayeos_gate_0x62_fold_step(seed: u64, word: u64, lane_idx: u64) -> u64 {
let shift = ((lane_idx & 7) << 3) as u32;
let mixed = seed.rotate_left(7) ^ word.rotate_left(shift) ^ 0x6262_6262_6262_6262;
(mixed & !0xFF) | 0x62
}
rustc -C opt-level=3 x86_64 Disassembly (38 B .text / 8 insns)ayeos_gate_0x62_fold_step:
lea ecx, [8*rdx]
shl rdi, 7
rol rsi, cl
xor rsi, rdi
and rsi, -256
movabs rax, 7089336938131513954
xor rax, rsi
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #1537 | ayeos_gate_0x62_fold_step (THIS CAPSULE) domain: ayeos-rpi | id: 2713856be5c490d5ad9bbeb30fea0ba4 | 1/1 cyc/op | 2048167/400000 ns/op | 400000000/2048167 ops/us | 38 B .text (8 insns) | + (1) | aye::Peter+Omni(0+1)::aarch64 @ 432Hz |