diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-03-18 08:21:39 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-03-18 09:11:47 -0700 |
commit | 48fb404a3f155805a67bdc18c7ca22d18df03be2 (patch) | |
tree | b9642a6a84db1300e6d64f066ee9582f17336f37 /org.eclipse.jgit/src/org/eclipse/jgit/util | |
parent | 28ffed23072e0b1e8697adc53448c2c71f0d1306 (diff) | |
download | jgit-48fb404a3f155805a67bdc18c7ca22d18df03be2.tar.gz jgit-48fb404a3f155805a67bdc18c7ca22d18df03be2.zip |
PackFile: Cache the packName string
Instead of computing this on every request, compute it once and
hold onto the result. This improves performance for LocalCachedPack
which does a lot of tests against the pack name string.
Change-Id: I3803745e3a5dda7b5f0faf39aae9423e2c777e7f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util')
0 files changed, 0 insertions, 0 deletions