Skip to main content

Module dictionary

Module dictionary 

Source
Expand description

Trained zstd dictionaries.

Structs§

Dictionary
A dictionary ready for compression and decompression, named by the id of the sealed dictionary segment that carries it.

Constants§

DEFAULT_DICTIONARY_BYTES
Size of a dictionary that train produces unless told otherwise.
MAX_DICTIONARY_BYTES
Largest dictionary a reader accepts.

Functions§

train
Trains a dictionary of at most max_size bytes from sample artifact sets.