def page.build.measured

mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:466

import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable

466def page.build.measured(
467  measured: List<&1, ByteMemTable.Entry> & Nat,
468  +max_bytes: Nat
469) -> Result<&1, &1, Error, PagePlan>:
470  match measured:
471    case (entries, count):
472      page.build.go(count, PageBuild{Nil{}, 0n, 0n, Nil{}, 0n},
473        page.next.prepare(entries, 0n, 0n, max_bytes), max_bytes)

Uses (11)

Used by (1)