<div dir="ltr">Hello,<div><br></div><div>LZ4, generally, can compress text files, but in our case it doesn't give us enough compression ratio to produce a compressed block. The maximum size of a compressed block is 32KB while the size of uncompressed block is, typically, 64KB, so a compression algorithm must be able to reduce the size of input data by, at least, 50%. I think, LZ4 can reduce the size of a text file by 40%, but, sadly, that's not enough in our case.</div>
<div><br></div><div><br></div><div>Daniel<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 2, 2013 at 7:54 AM, Petr Janda <span dir="ltr"><<a href="mailto:elekktretterr@exemail.com.au" target="_blank">elekktretterr@exemail.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why can't LZ4 compress text files?<br>
<br>
Petr</blockquote></div></div></div></div></div>