From: Kris Shannon <kris.shannon.kernel@gmail.com>
To: GIT Mailing List <git@vger.kernel.org>
Subject: RT[1/3]: Alternate Encodings (esp. Delta Compression)
Date: Thu, 28 Apr 2005 23:47:59 +1000 [thread overview]
Message-ID: <5d4799ae05042806477eb1e222@mail.gmail.com> (raw)
In-Reply-To: <5d4799ae0504280559109cd00e@mail.gmail.com>
If a format is defined for representing delta compression then
it would be prudent to make sure that it could be used for
encoding both forward and backward deltas (not necessarily
in the same delta :) These deltas could then by kept in the
objects directory (i.e. 00/a29c403e751c2a2a61eb24fa2249c8956d1c80.xdelta)
Doing delta compression of old versions is something that should
be done manually (the subversion people have empirical data
to back that up I think but I can't seem to find a link ATM)
A command for wiping old versions from a repository to save space
could be altered to replace the files with their xdelta equivalents
for a reduced space savings but still keeping a full history.
Using delta compression of the new versions (against the old) for
efficient bandwidth consumption is another possible area. If these
delta's are produced on the fly, they could be cached in the objects
directory.
These two different use cases are IMO a good argument for
using this as a convention even if it doesn't become a part of git's
core (i.e. changing read_sha1_file to transparently expand xdelta's)
If you add .xdelta it would follow that other encodings might be useful,
and added to the objects directory in the same way.
--
Kris Shannon <kris.shannon.kernel@gmail.com>
next prev parent reply other threads:[~2005-04-28 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 12:59 RT[0/3]: Some related random thoughts Kris Shannon
2005-04-28 13:34 ` RT[2/3]: Rename/Code-movement Tracking Kris Shannon
2005-04-28 13:47 ` Kris Shannon [this message]
2005-04-28 13:54 ` RT[3/3]: Reverse lookup of SHA1 references Kris Shannon
[not found] ` <42717714.50601@dwheeler.com>
2005-04-29 0:11 ` Kris Shannon
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=5d4799ae05042806477eb1e222@mail.gmail.com \
--to=kris.shannon.kernel@gmail.com \
--cc=git@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).