Re: Decompression speed: zip vs lzo
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jan 10, 2008, 22:03 UTC
- Message-ID
- <alpine.LFD.1.00.0801101400550.3148@woody.linux-foundation.org>
- In-Reply-To
- <478691EB.1080704@vilain.net>
On Fri, 11 Jan 2008, Sam Vilain wrote:
Show 12 quoted lines
> > For reference, 20 years of Perl with very deep deltas: > > wilber:~/src/perl-preview$ du -sk .git > 73274 .git > wilber:~/src/perl-preview$ git-repack -a > Counting objects: 244360, done. > Compressing objects: 100% (55493/55493), done. > Writing objects: 100% (244360/244360), done. > Total 244360 (delta 181061), reused 244360 (delta 181061) > wilber:~/src/perl-preview$ du -sk .git/objects/pack/ > 75389 .git/objects/pack/
Hmm. I'm not sure I understand what this was supposed to show?
You reused all the old deltas, and you did "du -sk" on two different things before/after (and didn't do a "-a -d" to repack the old pack either). So does the result actually have anything to do with any compression algorithm?
Use "-a -d -f" to repack a whole archive.
Linus