Util.g12_vec.go: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/util.bend as Util Lines 333-341 of unified-nsga-iii@0.2.2.0/util.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/util.bend&start_line=333&end_line=341 import Base # Sequential cons walk (guide: the list is the shape a flat loop walks). # n_var is 12–30 on the oracles; mid-split take/drop of that spine is # more expensive than a tail walk. Same rounding as the old map_halves. def g12_vec.go(xs: List<&2, F32>, acc: List<&2, F32>) -> List<&2, F32>: match xs: case Nil{}: List.reverse(&2, F32, acc) case +x <> rest: g12_vec.go(rest, g12_one(x) <> acc) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/util.bend&name=g12_one