Step - estimate_compression

estimate_compression ยท category: Compressed properties

Measures what compression rules for a label and path would save on the current values (lz4 with and without a dictionary at several min_bytes, or the given ones; codec: "dedup" or ["lz4", "dedup"] measures deduplication too), without changing the graph.

Forms

estimate_compression(arg1: any)

Example

{ let e = g.estimate_compression(#{label: "person", path: "name"}); [e.values_found, e.candidates.len(), e.warnings[0].code] }   // [4, 10, "nothing_qualifies"]

See also