Skip to content

TrimmingMap

Description

Initializes the trimming map with an optional default value, defaulting to false (not trimmed).

The map stores flags coerced to booleans, so a write of an unchanged flag is provably a no-op — skipUnchangedWrites is always on, keeping no-op writes from rebuilding the index caches.

Methods

getTrimmedIndexes

Source code

trimmingMap.getTrimmedIndexes() ⇒ Array

Get physical indexes which are trimmed.

Note: Indexes marked as trimmed aren’t included in a DataMap and aren’t rendered.