diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-09-21 08:23:12 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-09-24 13:58:12 -0700 |
commit | 9bcf391355ce8772e934a8e865e148525f8a0cbd (patch) | |
tree | 16223f7527bb20bafa40d61e87c02199d28c97de /.gitattributes | |
parent | af3fbb13f680cb3075d8f43a9113330711f5ae4f (diff) | |
download | jgit-9bcf391355ce8772e934a8e865e148525f8a0cbd.tar.gz jgit-9bcf391355ce8772e934a8e865e148525f8a0cbd.zip |
Micro-optimize EditList.addAll
Pass through the addAll request to our underlying ArrayList.
This way the underlying ArrayList grows no more than once during the
call, which may be important if the list was originally allocated
at the default size of 16, but 64 Edits are being added.
Change-Id: I31c3261e895766f82c3c832b251a09f6e37e8860
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions