Skip to content

collapsingHighestStore

collapsingHighestStore(maxBins): StoreFactory

Defined in: packages/distillate/src/ddsketch/store.ts:341

A dense store that never spans more than maxBins bins. Past that it folds the highest bins into the highest one it keeps, giving up accuracy on the largest magnitudes and keeping it for the smallest.

number

The most bins kept per sign; a positive integer.

StoreFactory

ParamError when maxBins is not a positive integer.