summaryrefslogtreecommitdiff
path: root/d7/ca3037c7a2d697d96be61cf5ed2fa58f3cf213
blob: 6aa299fad50be9df81cc90fafa9abe0f41d51567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
Return-Path: <j@toom.im>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 26DAB6C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 29 Nov 2015 00:30:27 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id A843912D
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 29 Nov 2015 00:30:26 +0000 (UTC)
Received: from [192.168.1.190] (63.135.62.197.nwinternet.com [63.135.62.197]
	(may be forged)) (authenticated bits=0)
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id tAT0UL2h014008
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Sat, 28 Nov 2015 16:30:23 -0800
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: multipart/signed;
	boundary="Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0";
	protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.5.2
From: Jonathan Toomim <j@toom.im>
In-Reply-To: <5659BEC9.50307@gmail.com>
Date: Sat, 28 Nov 2015 16:30:20 -0800
Message-Id: <725E6BCC-E839-4F91-9BCA-95D0549DC3C7@toom.im>
References: <5640F172.3010004@gmail.com> <20151109210449.GE5886@mcelrath.org>
	<CAL7-sS0Apm4O_Qi0FmY7=H580rEVD6DYjk2y+ACpZmKqUJTQwA@mail.gmail.com>
	<CALOxbZtTUrZwDfy_jTbs60n=K8RKDGg5X0gkLsh-OX3ikLf1FQ@mail.gmail.com>
	<CAE-z3OUB-se_HUvW2NLjWt=0d5sgMiPEciu0hLzr_HQN0m9fqQ@mail.gmail.com>
	<5642172C.701@gmail.com>
	<CAE-z3OXgWCHL_3CDR-ACc7ojbLi7EavyObNa3s7hPUMGj_V2+A@mail.gmail.com>
	<CADm_WcYAj9_r6tu8Be-U81LDwWvnv04PZJMmc-S4cY7+jxfzGw@mail.gmail.com>
	<5659BEC9.50307@gmail.com>
To: Peter Tschipper <peter.tschipper@gmail.com>
X-Mailer: Apple Mail (2.1878.6)
X-Sonic-CAuth: UmFuZG9tSVahrUDqVjEZbRXMUF7x1Ph/6u6oKL+NWDomj7dLGd6JB/TyGh63BHH52mp0HPRSUTA4rxCKtXnZf4yHjU951PrL
X-Sonic-ID: C;BFogYDCW5RGprb0U9jFv0A== M;UsP5YDCW5RGprb0U9jFv0A==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: bitcoin-dev@lists.linuxfoundation.org
Subject: Re: [bitcoin-dev] further test results for : "Datastream
	Compression of Blocks and Tx's"
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Nov 2015 00:30:27 -0000


--Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D"


--Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

It appears you're using the term "compression ratio" to mean "size =
reduction". A compression ratio is the ratio (compressed / =
uncompressed). A 1 kB file compressed with a 10% compression ratio would =
be 0.1 kB. It seems you're using (1 - compressed/uncompressed), meaning =
that the compressed file would be 0.9 kB.

On Nov 28, 2015, at 6:48 AM, Peter Tschipper via bitcoin-dev =
<bitcoin-dev@lists.linuxfoundation.org> wrote:

> The following show the compression ratio acheived for various sizes of =
data.  Zlib is the clear
> winner for compressibility, with LZOx-999 coming close but at a cost.
>=20
> range	Zlib-1 cmp%
> Zlib-6 cmp%	LZOx-1 cmp%	LZOx-999 cmp%
> 0-250b	12.44	12.86	10.79	14.34
> 250-500b 	19.33	12.97	10.34	11.11
>=20
>=20
>=20
>=20
>=20


--Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">It appears you're using the term "compression ratio" to mean "size reduction". A compression ratio is the ratio (compressed / uncompressed). A 1 kB file compressed with a 10% compression ratio would be 0.1 kB. It seems you're using (1 - compressed/uncompressed), meaning that the compressed file would be 0.9 kB.<div><br></div><div><div><div><div>On Nov 28, 2015, at 6:48 AM, Peter Tschipper via bitcoin-dev &lt;<a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">The following show the compression ratio acheived for various
      sizes of data.&nbsp; Zlib is the clear<br>
      winner for compressibility, with LZOx-999 coming close but at a
      cost.<br>
      <br>
      <table x:str="" style="border-collapse: collapse; width: 457pt; position: static; z-index: auto;" border="0" width="608" cellpadding="0" cellspacing="0">
        <colgroup><col style="mso-width-source:userset;mso-width-alt:8850;width:182pt" width="242"> <col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82"> <col style="mso-width-source:userset;mso-width-alt:3986;width:82pt" width="109"> <col style="mso-width-source:userset;mso-width-alt:4059;width:83pt" width="111"> <col style="width:48pt" width="64"> </colgroup><tbody>
          <tr style="height:12.75pt" height="17">
            <td style="height:12.75pt;width:182pt" height="17" width="242">range</td>
            <td style="width:62pt" width="82">Zlib-1 cmp%<br>
            </td>
            <td style="width:82pt" width="109">Zlib-6 cmp%</td>
            <td style="width:83pt" width="111">LZOx-1 cmp%</td>
            <td style="width:48pt" width="64">LZOx-999 cmp%</td>
          </tr>
          <tr style="height:12.75pt" height="17">
            <td style="height:12.75pt" height="17">0-250b</td>
            <td class="xl22" x:num="">12.44</td>
            <td class="xl22" x:num="">12.86</td>
            <td class="xl22" x:num="">10.79</td>
            <td class="xl22" x:num="">14.34</td>
          </tr>
          <tr style="height:12.75pt" height="17">
            <td style="height:12.75pt" x:str="250-500b " height="17">250-500b<span style="mso-spacerun:yes">&nbsp;</span></td>
            <td class="xl22" x:num="">19.33</td>
            <td class="xl22" x:num="">12.97</td>
            <td class="xl22" x:num="">10.34</td>
            <td class="xl22" x:num="">11.11</td>
          </tr>
          <tr style="height:12.75pt" height="17">
            <td style="height:12.75pt" height="17"><br></td><td class="xl22" x:num=""><br></td><td class="xl22"><br></td><td class="xl22" x:num=""><br></td><td class="xl22" x:num=""><br></td></tr></tbody></table></div></div></blockquote></div><br></div></div></body></html>
--Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D--

--Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWWkcdAAoJEIEuMk4MG0P1/zcIAIeFO4iBOHMboLU4eOGFqXnp
56L96wxKCBxlnBexjP7woRKAWOG4jvPVCcvZXaflshh8LRw+iCsM8hBJzGDu5Cu0
B2cALM3f1W4N1ZW+OvEPR1ychpih+Kyx+TH69NOAtDwmnoADEGREFRTvl8bEZT2A
sVDyMLQ/OiEm55hBzlmAXLxg6iyXWdBeFy5rx7XFwNos//3aKzooeAO+jh/RguA9
G8UeMBYnEQchBgbtOcqUNNhlVaPZMUzWkzicgEZcvNOR3TZcUxLSktcNFy+juGEL
ZS/K8mKjFaVxRd34u/FU9iIWVsqN7KfANsiqOYI8MbvBVWup7/8rj5IgVxJRa2o=
=g3Gu
-----END PGP SIGNATURE-----

--Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0--