From: "Szymon Janc" <szymon@janc.net.pl>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Font antialiasing v2
Date: Mon, 12 Apr 2010 17:50:16 +0200 [thread overview]
Message-ID: <dc9540d12e6d0a8171704ef175237f6c@webmail.rootnode.net> (raw)
In-Reply-To: <20100412072409.4d09d67d@svelte>
On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett <colin@gibibit.com> wrote
> > This issue should be handled at compress time by choosing to compress
> > by blocks of desired size. This way font layer doesn't need to care
> > anymore.
>
> But can you randomly seek to an block transparently and read it that
> way?
Maybe not fully randomly, but jumping by blocks will be quite fast even if file
was seeked backward when one must start from begining of file(at least with
xz). I don't know if jumping block backward is available in gzip, probably not.
If block size would be chosen wisely it should be possible to buffer block
(uncompressed) data and there should be quite a big chance that data locality
will minimize need for jumping (and decompression). Everything fully
transparent for caller. If You add compressed data buffering (sth like
compressed_data->bufio->decompressor->decompressed_block_buffer->caller) this
should work quite nicely.
As I've mentioned in my post about xz compression, I'll try to propose some
sollution fot that in the near future.
--
Szymon Janc
next prev parent reply other threads:[~2010-04-12 15:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 13:52 [PATCH] Font antialiasing v2 Evgeny Kolesnikov
2010-03-16 11:22 ` Evgeny Kolesnikov
2010-03-17 21:21 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-02 20:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-05 5:50 ` Evgeny Kolesnikov
2010-04-05 21:33 ` Michal Suchanek
2010-04-09 17:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-09 19:56 ` Colin D Bennett
2010-04-11 10:20 ` Michal Suchanek
2010-04-12 7:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-12 14:24 ` Colin D Bennett
2010-04-12 15:50 ` Szymon Janc [this message]
2010-04-12 16:28 ` Michal Suchanek
2010-04-12 17:24 ` Michal Suchanek
2010-04-12 17:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-12 18:13 ` Szymon Janc
2010-04-12 20:53 ` Michal Suchanek
2010-04-12 18:25 ` Michal Suchanek
2011-06-25 1:53 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=dc9540d12e6d0a8171704ef175237f6c@webmail.rootnode.net \
--to=szymon@janc.net.pl \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.