Files
tantivy/columnar/benches
Paul Masurel bef41ffa48 Faster lookups in sparse optional index blocks
- Branchless binary search in SparseBlock, using
  std::hint::select_unpredictable. Indices are usize: with u16, LLVM
  emits a branch on x86_64, even with the hint.
- SparseBlock::rank_if_exists_batch checks the next value first, then
  uses an exponential search. The search is bounded by the doc id gap:
  values are distinct and sorted, so vals[c + k] >= vals[c] + k.
- OptionalIndex::rank_if_exists_batch reserves its output vectors.
- MSRV 1.88, for select_unpredictable.
- Add a rank_if_exists_batch group to bench_optional_index, unit tests
  and proptests.
2026-10-07 14:18:13 +02:00
..
2025-04-18 04:56:31 +02:00
2026-07-10 12:33:33 +02:00