def apply.batch
import mylsm-lsm-store@0.6.0.1/src/ByteWalIo.bend as ByteWalIoimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
159def apply.batch(table: ByteMemTable.Table, batch: ByteWal.Batch) -> ByteMemTable.Table:
160 match batch:
161 case ByteWal.Batch{mutations}:
162 apply.batch.counted(table, mutations.count(mutations))