Files
zstd-rs/contrib/randomDictBuilder/README.md
T

934 B

Random Dictionary Builder

Permitted Arguments:

Input File/Directory (in=fileName): required; file/directory used to build dictionary; if directory, will operate recursively for files inside directory; can include multiple files/directories, each following "in=" Output Dictionary (out=dictName): if not provided, default to defaultDict Dictionary ID (dictID=#): nonnegative number; if not provided, default to 0 Maximum Dictionary Size (maxdict=#): positive number; in bytes, if not provided, default to 110KB Size of Randomly Selected Segment (k=#): positive number; in bytes; if not provided, default to 200 Compression Level (c=#): positive number; if not provided, default to 3

###Usage: To build a random dictionary with the provided arguments: make run ARG= followed by arguments

Examples:

make run ARG="in=../../lib/dictBuilder out=dict100 dictID=520" make run ARG="in=../../lib/dictBuilder in=../../lib/compress"