[Zlib-devel] Plans for zlib 1.2.5
Vincent Torri
vtorri at univ-evry.fr
Mon Feb 22 08:07:08 EST 2010
On Mon, 22 Feb 2010, Török Edwin wrote:
> On 02/22/2010 02:40 PM, Mark Adler wrote:
>> Edwin,
>>
>> On Feb 22, 2010, at 1:09 AM, Török Edwin wrote:
>>> I noticed that Z_FILTERED gives a significant improvement in compression
>>> ratio (around 9%) when used on text files which contain lot of
>>> hexadecimal-encoded data; for example ClamAV's database, which uses
>>> Z_FILTERED now for compression.
>>>
>>> Could zlib automatically determine what is best for a block, and use the
>>> strategy that gives best compression ratio?
>>
>> Yes, it could. I'll put that on the list.
>>
>
> Thanks. Will that be a new flag for gzopen?
>
>>> Is there anything else that
>>> could be tuned by introducing new strategies that are transparent to the
>>> decompressor?
>>
>> Yes, there are ways to make compression better by about 2% to 10% with a much slower but more aggressive deflator. I will consider that for a version after 1.2.5.
on the other hand, please keep decompression fast and with a low memory
footprint. We use zlib for those 2 features (especially on embedded).
Vincent Torri
More information about the Zlib-devel
mailing list