Skip to main content

Module quantize

Module quantize 

Source
Expand description

Coordinate / attribute quantization advisor (--quantize-coords, --quantize-attrs-auto): derives candidate precision from the max-zoom ground resolution and verifies the win by trial-encoding the sample.

Quantization is the repo’s #1 measured size lever (coords −25..47% on coord-heavy datasets, attrs up to −80% per Float64 column), but it is LOSSY, so this advisor never speaks without evidence: every recommendation is backed by a real crate::measure::measure_sample trial encode through the production stt-core encoder, compared against ONE shared baseline measurement at build defaults. Too-small samples produce no advice at all.

Functions§

advise
Recommend coordinate / attribute quantization when a trial encode of the loader sample measures a real shrink versus the build-default baseline.