Skip to main content

Module compression

Module compression 

Source
Expand description

LZ4 string pool compression and decompression.

The string pool stores all variable-length strings (names, paths, docs) in a single contiguous block, compressed with LZ4 for compactness.

Structs§

StringPool
A read-only string pool backed by decompressed data.
StringPoolBuilder
A string pool builder that collects strings and records their offsets.

Functions§

compress
Compress data using LZ4 block compression.
decompress
Decompress LZ4-compressed data with prepended size.