def split
import bend-visgraph@2.0.0.0/parallel.bend as Parallelimport Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG
138def split(+index: Bool, +g: VG.Visibility, +dir: VG.Direction, +k: VG.Weight, +lo: F32, +hi: F32, ys: Array<F32>, xs: Array<F32>, c: Cut) -> VG.Edges:
139 Cut{lefts, rights, cs, +m} = c
140 tree(fork_depth(), halves(cs, m), fork_cols(VG.Cols{ys, lefts, rights}), Array.fork(F32, xs), index, g, dir, k, lo, hi)