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): 248938 B / 5979048 B (ratio 124469/2989524, saved 2865055/2989524, 11686 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36672
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..1 of 1 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#38
SOLE CROWN #1 <10 CYC
branchless_sort4_u64
domain: sort | id: 4ec62cf5f69d
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: 553b44708895
C64 RAM: 687/65536 (687 B src)
1331441/400000 cyc/op
634243/400000 ns/op | 400000000/634243 ops/us
114 B .text (34 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (687 B)
#[inline(always)]
pub fn branchless_sort4_u64(packed4x16: u64) -> u64 {
    let mut a = packed4x16 & 0xFFFF;
    let mut b = (packed4x16 >> 16) & 0xFFFF;
    let mut c = (packed4x16 >> 32) & 0xFFFF;
    let mut d = (packed4x16 >> 48) & 0xFFFF;
    let (mn1, mx1) = if a < b { (a, b) } else { (b, a) };
    a = mn1; b = mx1;
    let (mn2, mx2) = if c < d { (c, d) } else { (d, c) };
    c = mn2; d = mx2;
    let (mn3, mx3) = if a < c { (a, c) } else { (c, a) };
    a = mn3; c = mx3;
    let (mn4, mx4) = if b < d { (b, d) } else { (d, b) };
    b = mn4; d = mx4;
    let (mn5, mx5) = if b < c { (b, c) } else { (c, b) };
    b = mn5; c = mx5;
    a | (b << 16) | (c << 32) | (d << 48)
}
Page 1 of 1 (1 total capsules)