def page.build.limit

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

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

475def page.build.limit(
476  entries: List<&1, ByteMemTable.Entry>,
477  max_bytes: Nat
478) ->
479  Result<&1, &1, Error, PagePlan>:
480  page.build.measured(ByteMemTable.count.keep(entries), max_bytes)

Uses (8)

Used by (1)