def probe_count_par
import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstableimport Base
235# Two-way parallel probe count; halves share no state.
236def probe_count_par(+probes: List<&2, String>, +tab: Table) -> Nat:
237 +half = Nat.div(List.length(&2, String, probes), 2n)
238 left right = probe_count_seq(List.take(&2, String, probes, half), tab) probe_count_seq(List.drop(&2, String, probes, half), tab)
239 Nat.add(left, right)
Uses (10)
Used by (0)
No other definition uses this definition.