rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248985 B / 5979066 B (ratio 82995/1993022, saved 1910027/1993022, 11685 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _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: 9446db816a44Aye: 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)->u6464-vec BLAKE3: 198e83aa9fcaC64 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 }
} |