public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] New global USE flag: gzip-dict
Date: Fri, 19 Dec 2008 17:06:23 +0000	[thread overview]
Message-ID: <20081219170623.150bc0ec@snowcone> (raw)
In-Reply-To: <1229705762.13304.1321.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]

On Fri, 19 Dec 2008 19:56:02 +0300
Peter Volkov <pva@gentoo.org> wrote:
> В Птн, 19/12/2008 в 14:45 +0000, Ciaran McCreesh пишет:
> > If it reads (and presumably uncompresses) all of them at startup
> > anyway, what's the point in compressing them at all?
> 
> 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.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-12-19 17:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 19:21 [gentoo-dev] New global USE flag: gzip-dict Peter Volkov
2008-12-16 19:27 ` Ciaran McCreesh
2008-12-16 19:57   ` Doug Goldstein
2008-12-16 20:06   ` Peter Volkov
2008-12-18  0:34     ` Donnie Berkholz
2008-12-19 14:40       ` Peter Volkov
2008-12-19 14:45         ` Ciaran McCreesh
2008-12-19 16:56           ` Peter Volkov
2008-12-19 17:06             ` Ciaran McCreesh [this message]
2008-12-19 17:32               ` Peter Volkov
2008-12-20  0:16                 ` [gentoo-dev] " Duncan
2008-12-20  1:04                   ` Mart Raudsepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081219170623.150bc0ec@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox