src/FlushPolicy.bend

mylsm-lsm-store@0.5.0.0 · 5 lines · 0 definitions

1import Base
2
3# Pure SSTable filename policy, shared by the flush effect and its laws.
4def table_name(flushed: Nat) -> String:
5  "l0-" ++ Nat.show(flushed) ++ ".tbl"