Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: I'm a total push-over..

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:07

Possibly related (same subject, not in this thread)

Hi,

On Tue, 22 Jan 2008, Junio C Hamano wrote:
Linus Torvalds [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help