def fused_compress
mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:185
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base
import mylsm-lsm-store@0.6.0.1/src/hub_sha/state.bend as S
185
186def fused_compress(+block: List<&2, U32>, +extra: Nat, +ks: List<&2, U32>, +state: S.State) -> S.State:
187 match block:
188 case a <> b <> c <> d <> e <> f <> g <> h <> i <> j <> k <> l <> m <> n <> o <> p <> Nil{}:
189 feedforward(state, window_schedule_rounds(
190 [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p], extra,
191 W{p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a}, ks, state))
192 case _:
193 fused_compress_slow(block, extra, ks, state)