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): 248985 B / 5979066 B (ratio 82995/1993022, saved 1910027/1993022, 11685 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36677
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
#77
CROWN #1 of 2 <10 CYC
st_golf_searchix_bm25_option_rank_q15_u64
domain: searchix-bm25 | id: 9446db816a44
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 198e83aa9fca
C64 RAM: 437/65536 (437 B src)
961493/100000 cyc/op
260847/100000 ns/op | 100000000/260847 ops/us
121 B .text (35 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (437 B)
pub const fn st_golf_searchix_bm25_option_rank_q15_u64(term_freq: u64, doc_len: u64, exact_prefix_match: u64) -> u64 {
    if term_freq == 0 {
        return 0;
    }
    let dl4 = (if doc_len < 8 { 8 } else { doc_len }) >> 2;
    let tf_q15 = term_freq.saturating_mul(32768) / term_freq.saturating_add(dl4);
    let score = tf_q15.saturating_add(((exact_prefix_match != 0) as u64) << 14);
    if score > 65535 { 65535 } else { score }
}
Page 1 of 1 (1 total capsules)