From: David Willmore Date: Wed, 20 Apr 2005 16:10:19 GMT Subject: Re: [PATCH] write-tree performance problems Message-ID: <1cddf4cc05042009101b151139@mail.gmail.com> In-Reply-To: On 4/20/05, Linus Torvalds wrote: > It really _shouldn't_ be faster. It still does the compression, and throws > the end result away. Am I misunderstanding or is the proglem that doing: -> compress -> sha1 -> compare with existing hash is expensive? What about doing: -> uncompress -> compare with unknown status file It's more file I/O, but the uncompress is much cheaper than the compress. On a second issue, what's the format of the main 'index' file? Is it: ? If so, that's not going to compress well. A file like: Will compress better. Stop me if I'm way off base--I'm just following the mailing list, I haven't tried out the code. Cheers, David