Skip to main content

Module sheet

Module sheet 

Source
Expand description

Sparse worksheet storage — BTreeMap<(row, col), Cell> plus tracked bounds.

Absence is the blank: a coordinate not in the map holds nothing, so memory scales with filled cells, not with the bounding rectangle. The map also gives deterministic iteration order (row-major) for free — golden tests and serialized output come out in a stable order.

Structs§

Sheet
One worksheet’s cells: sparse, row-major-ordered, unbounded up to the u32 × u32 coordinate space.