pub fn score_loop<S: Scorer>(
scorer: &mut S,
collector: &mut TopDocsCollector,
seg_id: SegmentId,
) -> u64Expand description
Monomorphic scoring loop. When called with a concrete Scorer type,
LLVM inlines doc_id(), score(), next(), and
set_min_competitive_score() — eliminating vtable dispatch overhead.
See [[optimization-scoring-throughput#Phase 1]].