Re: pack operation is thrashing my server
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Aug 13, 2008, 14:56 UTC
- Message-ID
- <m363q5t152.fsf@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.1.10.0808131036590.4352@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 8 quoted lines
> On Tue, 12 Aug 2008, Geert Bosch wrote: > > > One nice optimization we could do for those pesky binary large objects > > (like PDF, JPG and GZIP-ed data), is to detect such files and revert > > to compression level 0. This should be especially beneficial > > since already compressed data takes most time to compress again. > > That would be a good thing indeed.
Perhaps take a sample of some given size and calculate entropy in it? Or just simply add gitattribute for per file compression ratio...
-- Jakub Narebski Poland ShadeHawk on #git