Skip to main content

CHUNK_SIZE_WHOLE_DOC

Constant CHUNK_SIZE_WHOLE_DOC 

Source
pub const CHUNK_SIZE_WHOLE_DOC: u32 = 0;
Expand description

Sentinel value of CellMatrix::chunk_size meaning whole-doc mode: the matrix has at most one chunk covering the entire document. Below 4 × viewport_height lines the cell-builder uses whole-doc mode (see chunking policy in the design doc).