delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/05/14:56:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; q=dns; s=default; b=UiR8O2XgV4QHkgKs1RT+mjqKr4lVttq
RTX5LUQ40tZsuKvUWpsM+Qu0H07SjC6x1Zu/CzA/NDBxoqVQU/VRhqdmIQYSB84s
67Lkin+HePa+MLCBHdcYFAPLTZ2RFXYQ0jNC9NqYQ0bn3sgGTn0gq1RtFvTg9qGn
MtTYsU+uAHXU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; s=default; bh=MeM9RggHGCXpHM7tvIey3ovjMfk=; b=YUtRq
smwWEuGFalZkzZNkeDpErkY1frtWvHcZjFdU94QPSlxMOjVSVv3L2heGmhWqfU9/
cQijJPLuW4xAAJKSXbCGkFsu+8smBbHnKQM2Oy9hB3uwhNm26KoxWRezdwHCnhbo
Y80l+WHL6cAT8mXdL7gsAPItoxamqy/YUVc9uo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=inflate, datum, HContent-Transfer-Encoding:8bit
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=e552ceh/ c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=02M-m0pO-4AA:10 a=NWXstJJV1e_peEOzr7AA:9 a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
Subject: Re: a few tar.xz packages are bigger than their uncompressed tar
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Date: Thu, 05 Oct 2017 11:56:23 -0700
From: Kaz Kylheku <920-082-4242 AT kylheku DOT com>
In-Reply-To: <cc1a2cd5-a947-624e-4473-73151794a5d7@laposte.net>
References: <cc1a2cd5-a947-624e-4473-73151794a5d7 AT laposte DOT net>
Message-ID: <960ca9df83cf80f4321a69f2d8b8c0ba@mail.kylheku.com>
X-Sender: 920-082-4242 AT kylheku DOT com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4wfLghwbH3I1/j5ZXXCfG+Eq84KbhfIzhhrblBBS2hDSy1XTeZNQTRkn4S9qejQEYgW9CzWzBKq7zZ+bCozZ6Eu2h0vbE56vCUlHT57+AJLHeNf+WJRVWo txjN+h2bhBik1aKDNJ6Ggi20+JILuMoW9fm/xqbA3MfQwFu139KF9v/5
X-IsSubscribed: yes

On 24.09.2017 11:46, Jérôme Bouat wrote:
> Hello,
> 
> I looked into the local folder where the downloaded packages are saved
> before they are installed. I noticed that a few compressed archives
> files are using more size than their uncompressed form. For example,
> the libstdc++6-6.4.0-1.tar.xz file uses more space than its
> uncompressed tar file (on cygwin x86_64).
> 
> That is not surprising. All compression methods may sometimes inflate
> the final amount of data.

No compression method need ever increase the
size of the datum by more than one bit.

The compressed representation can begin with a header
bit which is 1 to indicate "compressed" and 0 to indicate
"stored without compression".


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019