lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: untar with plzip faster than with lzip for no apparent reason


From: Sonia Diaz Pacheco
Subject: Re: Re: untar with plzip faster than with lzip for no apparent reason
Date: Wed, 9 Oct 2024 19:31:43 +0200

wrotycz escribió:

AFAIK, dictionary size is fixed for each compressed file and can't be changed because it has to be the same dictionary size that was used in the compression.

I am not talking about dictionary but about output buffer.

In a lzip decompressor, dictionary and output buffer are the same thing. If you find the lzip source a bit complicated, you can check it in the lzip specification[1]. The dictionary buffer is allocated in the constructor of 'class LZ_decoder' like this 

  buffer( new uint8_t[dictionary_size] ),

and is the only buffer used by the decompressor.

[1] http://datatracker.ietf.org/doc/draft-diaz-lzip/ 

Cheers,
Sonia

reply via email to

[Prev in Thread] Current Thread [Next in Thread]