Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 248869 B / 5979051 B (ratio 248869/5979051, saved 5730182/5979051, 11695 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36669
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1..2 of 2 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#14
SOLE CROWN #1 <10 CYC
saturate_trit_i64
domain: ternary | id: 9bb078d59c28
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64)->i8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64)->i8
64-vec BLAKE3: 479f392c99dc
C64 RAM: 19/4096 (304 B src)
1323467/400000 cyc/op
206833/200000 ns/op | 200000000/206833 ops/us
12 B .text (5 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (304 B)
pub fn saturate_trit_i64(value: i64) -> i8 {
    // Project an arbitrary accumulator onto the ternary alphabet {-1, 0, +1}.
    // Branch-free: two arithmetic compares compiled to cmp/setcc pairs.
    if value > 1 {
        1
    } else if value < -1 {
        -1
    } else {
        value as i8
    }
}
#65
SOLE CROWN #1 <10 CYC
rssi_to_trit
domain: databomb-0-x86_64 | id: 0b8a4101d216
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(i64)->i8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i64)->i8
64-vec BLAKE3: 4b435eaea35b
C64 RAM: 151/65536 (151 B src)
100223/25000 cyc/op
763781/400000 ns/op | 400000000/763781 ops/us
21 B .text (7 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (151 B)
pub fn rssi_to_trit(rssi_dbm: i64) -> i8 {
    if rssi_dbm >= -68 {
        1
    } else if rssi_dbm >= -80 {
        0
    } else {
        -1
    }
}
Page 1 of 1 (2 total capsules)