From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LDio5-00029m-62 for garchives@archives.gentoo.org; Fri, 19 Dec 2008 17:06:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22BD0E052D; Fri, 19 Dec 2008 17:06:32 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by pigeon.gentoo.org (Postfix) with ESMTP id C00E4E052D for ; Fri, 19 Dec 2008 17:06:31 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id 30so485500ugs.39 for ; Fri, 19 Dec 2008 09:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=+8v9qLkNc4oLdsmIyDQ3tnO8cpUrCPfL0tOb99QTktI=; b=VuQz/jJ0vL1+yy7HcDYFIqQppp/PfP2mp3i5kzKrJI6L48k6SkcJmeHlLHdJYhrTp0 1uazvyPOfxLIU71DW1r5kqWl1cC9hOkLJWUg4W8mSgdVdHMMxl8tRt1bq4qZim4w0uJu LfsWfehMeaL1Upgy3JKzy3XMnYB1vmUhtVqQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=NWnLGeCjuQdkZfWIaO6uDVllVasgbeD9rWlO2LNWfRumd0RVbufXQqMG+Cuu4XgYue R5N1tGkix+6OmC8jmiFzUSmsmUsNdPqvan3vCnh8DsXBlQmjyWxwPMjOQl5pVHCnBuj8 NIzaVQjA8aZBF/YwymkYdqPV/AZB/F8Y6L6qM= Received: by 10.67.96.1 with SMTP id y1mr4900677ugl.34.1229706391019; Fri, 19 Dec 2008 09:06:31 -0800 (PST) Received: from snowcone (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id 34sm3776654ugh.10.2008.12.19.09.06.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Dec 2008 09:06:30 -0800 (PST) Date: Fri, 19 Dec 2008 17:06:23 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New global USE flag: gzip-dict Message-ID: <20081219170623.150bc0ec@snowcone> In-Reply-To: <1229705762.13304.1321.camel@localhost> References: <1229455276.2454.23.camel@localhost> <20081216192712.516a1d80@snowmobile> <1229457985.2454.30.camel@localhost> <20081218003449.GA7573@comet> <1229697641.13304.1258.camel@localhost> <20081219144552.750e544b@snowcone> <1229705762.13304.1321.camel@localhost> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.14.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/TqP=JBC9L/NS+n20IXkoca3"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: c7de0c91-3402-43bb-b8f1-208f8bbd93a9 X-Archives-Hash: a1b9e1455e9ea40d2c96da213262ca5c --Sig_/TqP=JBC9L/NS+n20IXkoca3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 19 Dec 2008 19:56:02 +0300 Peter Volkov wrote: > =D0=92 =D0=9F=D1=82=D0=BD, 19/12/2008 =D0=B2 14:45 +0000, Ciaran McCreesh= =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > If it reads (and presumably uncompresses) all of them at startup > > anyway, what's the point in compressing them at all? >=20 > It makes size smaller: both index and data files are text files so > compression is very effective. All distributions I've checked compress > data files, some compress both data and index. Probably all desktop > users want dictionaries to be compressed because modern cpu's are > really fast in decompression and even on my 4-years old notebook it > takes less then second... But still there are environments where it's > better to keep dictionaries uncompressed. That's why I want to keep > this feature optional. But disk space is cheap. How big are the dictionaries? The vim dictionaries are around half a meg uncompressed, and if you're looking to save a meg or two in disk space on the kind of system that includes dictionaries then you're doing something seriously wrong... Really, all that compression seems to do is save a small amount of irrelevant disk space, at the cost of requiring more disk space and memory for a new library and slowing things down to a level that's unacceptable on some systems. Compression makes sense for network transfers, backups and file formats that do their own domain specific compression. Elsewhere? Likely not so much. --=20 Ciaran McCreesh --Sig_/TqP=JBC9L/NS+n20IXkoca3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklL1JIACgkQ96zL6DUtXhHXIACfcATQFn/ECOPXu4aF/GP06T6U v8oAoInMWO8lTMnTd851gR+MQhPVe+Ce =Zu34 -----END PGP SIGNATURE----- --Sig_/TqP=JBC9L/NS+n20IXkoca3--