diff options
author | Shawn Pearce <spearce@spearce.org> | 2013-04-10 13:05:58 -0700 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2013-04-10 13:05:58 -0700 |
commit | 6c0bb4351df033b3e79fd9e3f846af7a25864fed (patch) | |
tree | 182f8bdc0d69746e34dd4fa8976759b6c18b38b2 /org.eclipse.jgit | |
parent | 46ef61a7027449198abe2f18c3ee1d6c578cf949 (diff) | |
download | jgit-6c0bb4351df033b3e79fd9e3f846af7a25864fed.tar.gz jgit-6c0bb4351df033b3e79fd9e3f846af7a25864fed.zip |
Increase PackOutputStream copy buffer to 64 KiB
Colby just pointed out to me the buffer was 16 KiB. This may
be very small for common objects. Increase to 64 KiB.
Change-Id: Ideecc4720655a57673252f7adb8eebdf2fda230d
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackOutputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackOutputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackOutputStream.java index 2533e906e5..be1e3d4715 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackOutputStream.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackOutputStream.java @@ -73,7 +73,7 @@ public final class PackOutputStream extends OutputStream { private final byte[] headerBuffer = new byte[32]; - private final byte[] copyBuffer = new byte[16 << 10]; + private final byte[] copyBuffer = new byte[64 << 10]; private long checkCancelAt; |