From: Junio C Hamano Date: Wed, 09 Jan 2008 23:49:46 GMT Subject: Re: Decompression speed: zip vs lzo Message-ID: <7vprwaeezp.fsf@gitster.siamese.dyndns.org> In-Reply-To: <47855765.9090001@vilain.net> Sam Vilain writes: > I think to go forward this would need a prototype and benchmark figures > for things like "annotate" and "fsck --full" - but bear in mind it would > be a long road to follow-up to completion, as repository compatibility > would need to be a primary concern and this essentially would create a > new pack type AND a new *object* type. Not only that, but currently > there is no header in the objects on disk which can be used to detect a > gzip vs. an lzop stream. Not really worth it IMHO - gzip is already > fast enough on even the most modern processor these days. For the compression type detection, I was hoping that we could do something like sha1_file.c::legacy_loose_object(), but I tend to agree it is not probably worth it.