Re: I'm a total push-over..
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 23, 2008, 12:25 UTC
- Message-ID
- <alpine.LSU.1.00.0801231224300.5731@racer.site>
- In-Reply-To
- <7vprvtngxk.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 22 Jan 2008, Junio C Hamano wrote:
Show 14 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes: > > > Basically, I dislike having two copies of the same data. If something > > can be computed from something else, then only the original data > > should exist, and the other thing should be recomputed. > > Yes, I agree with that in principle. Storing computable values makes > sense only when it is expensive to recompute. We did not have > cache-tree for quite a long time until you noticed that it was rather > expensive and wasteful to recompute tree objects from unchanged parts of > the index every time. > > It's the same argument; when the hashing performance starts to become > noticeable, we can think about storing and reusing it, not before.
I fully expect it to be noticable with that UTF-8 "normalisation". But then, the infrastructure is there, and whoever has an itch to scratch...
Ciao, Dscho