changed advanced commands --maxdict= and --dictID=
now works with the `=` variant, which is the recommended one. Old variant `--dictID #` still works, for compatibility with existing scripts. Long term objective is to remove the old variant..
This commit is contained in:
+2
-2
@@ -168,11 +168,11 @@ use FILEs as training set to create a dictionary\. The training set should conta
|
||||
dictionary saved into \fBfile\fR (default: dictionary)
|
||||
.
|
||||
.TP
|
||||
\fB\-\-maxdict #\fR
|
||||
\fB\-\-maxdict=#\fR
|
||||
limit dictionary to specified size (default : (112640)
|
||||
.
|
||||
.TP
|
||||
\fB\-\-dictID #\fR
|
||||
\fB\-\-dictID=#\fR
|
||||
A dictionary ID is a locally unique ID that a decoder can use to verify it is using the right dictionary\. By default, zstd will create a 4\-bytes random number ID\. It\'s possible to give a precise number instead\. Short numbers have an advantage : an ID < 256 will only need 1 byte in the compressed frame header, and an ID < 65536 will only need 2 bytes\. This compares favorably to 4 bytes default\. However, it\'s up to the dictionary manager to not assign twice the same ID to 2 different dictionaries\.
|
||||
.
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user