diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2016-06-27 14:28:33 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2016-06-27 14:28:33 (GMT) |
commit | e769ee4cc7d61e101e38f717cad600a0537603dd (patch) | |
tree | 6d5c037f03d0667041a0f406e67de94bb8352aff /doc | |
parent | 039129beee818bb0aa8a756e09cb8a1b3ac68f49 (diff) | |
parent | 2453f30fb9e0fd71b6fc37ef6df3385f2efaf6d5 (diff) | |
download | tcl-e769ee4cc7d61e101e38f717cad600a0537603dd.zip tcl-e769ee4cc7d61e101e38f717cad600a0537603dd.tar.gz tcl-e769ee4cc7d61e101e38f717cad600a0537603dd.tar.bz2 |
[dd260aaf72] Allow the -dictionary option to be read from a pushed transform.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/zlib.n | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -174,7 +174,11 @@ to the \fBzlib push\fR command: .VS "TIP 400" Sets the compression dictionary to use when working with compressing or decompressing the data to be \fIbinData\fR. Not valid for transformations that -work with gzip-format data. +work with gzip-format data. The dictionary should consist of strings (byte +sequences) that are likely to be encountered later in the data to be compressed, +with the most commonly used strings preferably put towards the end of the +dictionary. Tcl provides no mechanism for choosing a good such dictionary for +a particular data sequence. .VE .TP \fB\-header\fI dictionary\fR @@ -207,11 +211,13 @@ compression algorithm depends on what format is being produced or consumed. .TP \fB\-dictionary\fI binData\fR .VS "TIP 400" -This read-write options gets or sets the compression dictionary to use when -working with compressing or decompressing the data to be \fIbinData\fR. It is -not valid for transformations that work with gzip-format data, and should not -normally be set on compressing transformations other than at the point where -the transformation is stacked. +This read-write options gets or sets the initial compression dictionary to use +when working with compressing or decompressing the data to be \fIbinData\fR. +It is not valid for transformations that work with gzip-format data, and should +not normally be set on compressing transformations other than at the point where +the transformation is stacked. Note that this cannot be used to get the +current active compression dictionary mid-stream, as that information is not +exposed by the underlying library. .VE .TP \fB\-flush\fI type\fR |