Optimion to the 'belongs to' metric
commit7ef0678056731b0269544d648a67aa268a856257
authorSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:12:52 +0000 (7 00:12 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Sun, 6 Jul 2008 22:12:52 +0000 (7 00:12 +0200)
treefdf3b3d99911c4699fb217f2733692a861f3739e
parent15965521e753ec0b980c4b0c486b8d673a334400
Optimion to the 'belongs to' metric

Introduce a global 'memory' that allows for early
elmination of branches that will not end up to be the best
fit anyway. By remembering if a commit was already seen in
other branches with a lower dilution, we can stop
traversing the current path. We cannot replace the normal
memory with this global memory however, since that would
prevent us from finding all branches when a commit belongs
most to multiple branches.
src/git_stats/branch.py