Re: Decompression speed: zip vs lzo
- From
Sam Vilain <sam@vilain.net>
- Date
- Jan 10, 2008, 21:45 UTC
- Message-ID
- <478691EB.1080704@vilain.net>
- In-Reply-To
- <alpine.LFD.1.00.0801101252030.3148@woody.linux-foundation.org>
Linus Torvalds wrote:
Show 5 quoted lines
> Maybe the difference to other repositories isn't huge, and maybe the > kernel *is* a good test-case, but I just wouldn't take that for granted. > > Try with the gcc repo, especially the one that has deep delta chains (so > it has even *more* deltas in relation to full objects than the kernel has)
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/ wilber:~/src/perl-preview$
There are a few generated files in this history, but really only yacc files etc. It is in general also a lot of small changes.
Sam.