def probe_count_par
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstableimport Base
207# Two-way parallel probe count; halves share no state.
208def probe_count_par(+probes: List<&2, String>, +tab: Table) -> Nat:
209 +half = Nat.div(List.length(&2, String, probes), 2n)
210 left right = probe_count_seq(List.take(&2, String, probes, half), tab) probe_count_seq(List.drop(&2, String, probes, half), tab)
211 Nat.add(left, right)