Speed up history by comparing tree hashes.
commit4c994fd64f034c96cd7915d50138c5dab74dfbb4
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 11 Mar 2007 18:15:37 +0000 (11 19:15 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 12 Mar 2007 20:51:08 +0000 (12 16:51 -0400)
tree9d7c9c639314d5fdf4d66fa0e5e3d5d817ab1e21
parent14b382ea797d8801ffe1ff5af6042e8bd2474f39
Speed up history by comparing tree hashes.

Instead of looking up full path name all the time we split the
path name of the resource we are looking at and compare hashed
at each level.

The performance improvement isn't huge since most of the work
is reading commits.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.egit.core/src/org/spearce/egit/core/internal/mapping/GitFileHistory.java
org.spearce.jgit/src/org/spearce/jgit/lib/ObjectId.java