Article View: news.software.nntp
Article #87233Re: About compression with NNTP
From: D. Stussy
Date: Mon, 16 Nov 2015 09:24
Date: Mon, 16 Nov 2015 09:24
27 lines
2787 bytes
2787 bytes
"Michael Baeuerle" wrote in message news:AABWRxtFZagAAEeU.A1.flnews@WStation4.micha.freeshell.org... Note that DEFLATE/LZ77 (used in gzip) is not the same as LZW/LZ78 (used in compress). ============= I thought deflate used LZW/LZ78. It's been 20 years since I touched compression anyway. ============= Do sombody know the behaviour for small data sizes? ============= For sufficiently small data sizes, the behavior is that the "compressed" version is usually LONGER than the original data. That was my point. It's because there's not enough repeating sequences. LZW (78) performance - simplest case: Input: 3 8-bit characters (24 bits fixed). Output: 11 bits minimum, to 27 bits maximum. 11 bits is achieved when all three 8-bit characters are the same. 27 bits are when they are all different. 19 bits occurs when any two are the same and one is different. In terms of bytes, 3 in can produce 2, 3, or 4 out.
Technical Details
Message-ID:
<n2c7c2$95g$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org> <n00o8d$5ui$1@news.trigofacile.com> <AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de> <n03jk8$b2u$1@news.trigofacile.com> <AABWJgKBjCwAAAnv.A1.flnews@WStation3.stz-e.de> <n06897$9he$2@news.trigofacile.com> <n1vneo$228$1@news.trigofacile.com> <n26mjn$k03$2@snarked.org> <AABWRxtFZagAAEeU.A1.flnews@WStation4.micha.freeshell.org>Show Full Headers
Complete Article Headers
Message-ID: <n2c7c2$95g$1@snarked.org> Subject: Re: About compression with NNTP Date: Mon, 16 Nov 2015 01:24:17 -0800 From: "D. Stussy" <spam@spam.org> References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org> <n00o8d$5ui$1@news.trigofacile.com> <AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de> <n03jk8$b2u$1@news.trigofacile.com> <AABWJgKBjCwAAAnv.A1.flnews@WStation3.stz-e.de> <n06897$9he$2@news.trigofacile.com> <n1vneo$228$1@news.trigofacile.com> <n26mjn$k03$2@snarked.org> <AABWRxtFZagAAEeU.A1.flnews@WStation4.micha.freeshell.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Lines: 25 Reply-To: "D. Stussy" <newsgroups+replies@kd6lvw.ampr.org> NNTP-Posting-Host: nv-184-1-12-86.dhcp.embarqhsd.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: snarked.org 1447665858 9392 184.1.12.86 (16 Nov 2015 09:24:18 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Mon, 16 Nov 2015 09:24:18 +0000 (UTC) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-No-Archive: Yes In-Reply-To: <AABWRxtFZagAAEeU.A1.flnews@WStation4.micha.freeshell.org> X-Received-Body-CRC: 2302694430 X-Received-Bytes: 2742