Engineering Category: Lossless Wire & Structural Compression
Best Use in Production: Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
When to Select This Capsule: Verified baseline member of a 2-capsule Equivalence Class; useful as a reference or cross-validation peer. Sub-10-cycle hardware kernel (501157/100000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: Specialized Multi-Pin Stage `(u8,u8)->u8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
.text: 9 B (5 x86_64 insns)61 B)pub const fn nand1(a: u8, b: u8) -> u8 {
(!(a & b)) & 1
}
rustc -C opt-level=3 x86_64 Disassembly (9 B .text / 5 insns)nand1:
mov eax, edi
and eax, esi
not al
and al, 1
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #36 | nand domain: smart-tree | id: 36e236cb0c64609e0719dc6208b24ce9 | 668333/200000 cyc/op | 636679/400000 ns/op | 400000000/636679 ops/us | 9 B .text (5 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #72 | nand1 (THIS CAPSULE) domain: smart-tree | id: 8eff2ef0bdd21408a48244b2f8a3da9d | 501157/100000 cyc/op | 190971/80000 ns/op | 80000000/190971 ops/us | 9 B .text (5 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |