BlockIndexPolicy.accepts: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexPolicy.bend as BlockIndexPolicy Lines 32-34 of mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexPolicy.bend&start_line=32&end_line=34 import Base # Accepts one page only when it fits the resident budget. def accepts(entries: Nat) -> Bool: Nat.is_le(entries, max_blocks()) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_le https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexPolicy.bend&name=max_blocks