Parallel.block_leaf: def of bend-visgraph@2.0.0.0 Import: import bend-visgraph@2.0.0.0/parallel.bend as Parallel Lines 33-38 of bend-visgraph@2.0.0.0/parallel.bend: https://jend.leeeet.dev/read.txt?path=bend-visgraph@2.0.0.0/parallel.bend&start_line=33&end_line=38 import Base import bend-visgraph@2.0.0.0/visgraph.bend as VG # It forks nothing, so the runtime runs it once the tree has grown, on any # idle thread; work done before a fork runs while the tree grows, on a few # threads. def block_leaf(+s: U32, +e: U32, c: VG.Cols) -> Blocks: VG.Cols{ys, lefts, rights} = c block_of(VG.block_pass(U32.to_nat((e - s : U32)), s, Array.get(F32, ys, s), lefts, rights)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/parallel.bend&name=Blocks https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/parallel.bend&name=block_of https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=Cols https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=block_pass