Skip to main content

encode_fsst

Function encode_fsst 

Source
pub fn encode_fsst(values: &[&[u8]], shape: &Settled) -> Result<Option<Vec<u8>>>
Expand description

values as one FSST chunk against the table in shape, which fsst_shape made.

None when the table is empty, which is what a sample with nothing worth a symbol trains. This is counted as an offer of FSST and, when it comes out, as kept, so that the pages a writer compresses this way show up in rudb_codec_metrics() with the rest.

ยงErrors

As encode.