diff options
author | Andrey Loskutov <loskutov@gmx.de> | 2014-11-07 16:30:44 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-11-18 10:58:26 +0100 |
commit | 2c940fa18a457c37e9aa7a8065e8d650c83589e2 (patch) | |
tree | 80770201657b1db088d556bb97adf582f271e509 /org.eclipse.jgit.java7/META-INF | |
parent | a31db826d4247d1ae91a243526bcb65423abafce (diff) | |
download | jgit-2c940fa18a457c37e9aa7a8065e8d650c83589e2.tar.gz jgit-2c940fa18a457c37e9aa7a8065e8d650c83589e2.zip |
Don't use java.util.regex for two simple wildcard cases
To improve ignore parser performance we can avoid using java.util.regex
code on simple wildcard patterns with leading or trailing asterisk. As
those patterns represent a majority of ignore rules, the index diff
performance can be drastically increased on huge repository with lot of
ignore rules.
Bug: 450466
Change-Id: I80428441cc8d5de5468813f841d89322413eed8b
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.java7/META-INF')
0 files changed, 0 insertions, 0 deletions