def best.go
import emerging-ezaudio@0.4.0.0/src/mp3_enc.bend as Mp3Encimport Base
635def best.go(
636 cs: List<&2, U32>, +ix: List<&2, U32>, got: Bs, +lins: List<&2, U32>
637) -> Array<U32> & Best:
638 match cs got:
639 case Nil{} Bs{codes, won}:
640 (codes, won)
641 case +hd <> tl Bs{codes, won}:
642 best.go(tl, ix, bs.of(best.step(won, hd, ix, codes, lins)), lins)