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