Re: using deflateSetDictionary DEFLATE ZLIB
- From: George Wilson <george_wilson_mit@xxxxxxxxx>
- Date: Thu, 26 Jul 2007 05:48:22 -0700
On Jul 12, 9:14 pm, Mark Adler <mad...@xxxxxxxxxxxxxxxxxx> wrote:
On Jul 12, 5:38 am, George Wilson <george_wilson_...@xxxxxxxxx> wrote:
1. What happens to dictionary used if it is beyond 32K ?
If more than 32K is provided, only the last 32K is used.
2. Will the data encoded in the look ahead buffer enter the search
buffer at any point of time ? when using deflateSetDirectory ?
The question is not clear (and it's deflateSetDictionary). The
provided dictionary will be processed into the search hash table to
enable finding strings in the dictionary when the data to compress is
provided.
3. Is this deflateSetDictionary available with others like DEFLATE
users like GZIP?
The use of a preset dictionary is not supported by gzip.
4. What kind of variation can be expected with in DEFLATE ZLIB with
deflateSetDirectory ?
Again the question is not clear. If you'd like to know how
compression might be improved, you'll just have to try it yourself.
Your mileage will vary considerably with how similar the dictionary is
to the data to be compressed, and how long the data to be compressed
is.
Mark
Thankyou very much Mark
I have one more question is the zlib lib build for windows is thread
safe.
.
- Follow-Ups:
- Re: using deflateSetDictionary DEFLATE ZLIB
- From: Mark Adler
- Re: using deflateSetDictionary DEFLATE ZLIB
- References:
- [Question] using deflateSetDictionary DEFLATE ZLIB
- From: George Wilson
- Re: using deflateSetDictionary DEFLATE ZLIB
- From: Mark Adler
- [Question] using deflateSetDictionary DEFLATE ZLIB
- Prev by Date: Re: DEFLATE and non-optimal Huffman codes
- Next by Date: xdelta3 - how to apply a patch file?
- Previous by thread: Re: using deflateSetDictionary DEFLATE ZLIB
- Next by thread: Re: using deflateSetDictionary DEFLATE ZLIB
- Index(es):
Relevant Pages
|
|