diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-09-21 13:53:56 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-09-21 18:00:31 -0700 |
commit | e84d826eb6a0649b74d7d374cd6899f4782e51ee (patch) | |
tree | dfe450bffde9feda2278c27d3fa4270f886bdb23 /org.eclipse.jgit.pgm | |
parent | a67afbfee10ca2963f5f0f52f701376e382572e2 (diff) | |
download | jgit-e84d826eb6a0649b74d7d374cd6899f4782e51ee.tar.gz jgit-e84d826eb6a0649b74d7d374cd6899f4782e51ee.zip |
Remove unnecessary hash cache from PatienceDiffIndex
PatienceDiff always uses a HashedSequence, which promises to provide
constant time access for hash codes during the equals method and
aborts fast if the hash codes don't match. Therefore we don't need
to cache the hash codes inside of the index, saving us memory.
Change-Id: I80bf1e95094b7670e6c0acc26546364a1012d60e
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.pgm')
0 files changed, 0 insertions, 0 deletions