Skip to main content

MAX_DICT_BYTES

Constant MAX_DICT_BYTES 

Source
pub const MAX_DICT_BYTES: usize = _ /* 114_688usize */;
Expand description

max trained-dictionary size in bytes (~110 KiB). the ZDICT trainer returns a SMALLER dict when the sample set does not justify the cap, so this is an upper bound, not a fixed size. chosen in the 64-112 KiB band the work order pins; large enough to capture pt-br boilerplate, small enough to stay a negligible slice of the file.