Re: git-diff-tree inordinately (O(M*N)) slow on files with many changes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Davide Libenzi
Date: Monday, October 16, 2006 - 11:18 am

On Mon, 16 Oct 2006, Linus Torvalds wrote:


Yeah, using an appropriate golden ratio prime for 64 bits fixes it. I 
think it's the best/minimal fix (use 0x9e37fffffffc0001UL, like the 
kernel does).
I'm also looking into optimizing the multi-match discard loop, that 
actually loses the classifier informations collected in the context 
prepare phase.




- Davide


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-diff-tree inordinately (O(M*N)) slow on files with ..., Davide Libenzi, (Mon Oct 16, 11:18 am)