Re: Decompression speed: zip vs lzo
- From
Sam Vilain <sam@vilain.net>
- Date
- Jan 10, 2008, 22:28 UTC
- Message-ID
- <47869C24.3000400@vilain.net>
- In-Reply-To
- <alpine.LFD.1.00.0801101400550.3148@woody.linux-foundation.org>
Linus Torvalds wrote:
Show 18 quoted lines
>> 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.
Drat, guess that means I'll have to recompute the deltas - I was trying to avoid that.
Ok, see you in an hour or two, hopefully sans bonehead mistakes this time :)
Sam.