1bf7d3f290
Allow SHA1 instances to be reused to compute another hash value, and resume caching them in ObjectInserter and PackParser. This shaves a small amount of running time off parsing git.git's pack file: before after ------ ------ 25.25s 25.55s 25.48s 25.06s 25.26s 24.94s Almost noise (small difference), but recycling the instances reduces some stress on the memory allocator finding two 80 word message block arrays needed for hashing and collision detection. Change-Id: I4af88a720e81460293bc5c5d1d3db1a831e7e228 |
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
exttst/org/eclipse/jgit | ||
src/org/eclipse/jgit/lib | ||
tst/org/eclipse/jgit | ||
tst-rsrc | ||
.classpath | ||
.gitignore | ||
.project | ||
BUCK | ||
build.properties | ||
org.eclipse.jgit.core--All-Tests (Java 8) (de).launch | ||
org.eclipse.jgit.core--All-Tests (Java 8).launch | ||
org.eclipse.jgit.core--All-Tests.launch | ||
org.eclipse.jgit.test-WalkEncryptionTest-Proxy.launch | ||
org.eclipse.jgit.test-WalkEncryptionTest.launch | ||
plugin.properties | ||
pom.xml |