On Wed, Jan 23, 2008 at 01:28:27PM +0100, David Kastrup wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > Both issues (and the config variable issue Linus raised) are easily > > helped with: store not only the hashmap in the extension, but also an > > identifier for the hash method used. > > For a reasonably implemented hash algorithm, computing the hash should > be cheaper than reading it from disk. > > So storing precomputed hashes is not worth the trouble. Yes, but if on Mac OS systems when the git repository is stored on an HFS+ system, the hash algorithm gets changed to one which forces Unicode strings which HFS+ happens to "normalize" into the same hash bucket pre- and post- normalization, it might not be cheap any more.... - Ted - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html