def index.limits.valid

mylsm-lsm-store@0.6.0.1 · src/ResourceOptions.bend:231

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

231def index.limits.valid(+index_page_bytes: U32,
232  +index_buffer_bytes: U32) -> Bool:
233  bounded(index_page_bytes, 16384) &&
234    bounded(index_buffer_bytes, 65536) &&
235    U32.is_le(index_page_bytes, index_buffer_bytes)

Uses (5)

Used by (1)