From: Linus Torvalds Date: Wed, 20 Apr 2005 19:19:53 GMT Subject: Re: [PATCH] write-tree performance problems Message-ID: In-Reply-To: <200504201504.59541.mason@suse.com> On Wed, 20 Apr 2005, Chris Mason wrote: > > Well, the difference there should be pretty hard to see with any benchmark. > But I was being lazy...new patch attached. This one gets the same perf > numbers, if this is still wrong then I really need some more coffee. I did my preferred version. Makes a big difference here too. It would be nicer for the cache to make the index file "header" be a "footer", and write it out last - that way we'd be able to do the SHA1 as we write rather than doing a two-pass thing. That's for another time. Linus