Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMarc-Andre Laperle2020-08-16 23:45:38 +0000
committerMarc-André Laperle2020-08-24 03:18:40 +0000
commita9b67d0828267919e63c3ef78da24db936e45a25 (patch)
tree3695984fe03276ac0fc7d25475283921bc5d3fdb /build
parent68c9b53de068aa58b95403dd3b1babe741d6fb09 (diff)
downloadorg.eclipse.cdt-a9b67d0828267919e63c3ef78da24db936e45a25.tar.gz
org.eclipse.cdt-a9b67d0828267919e63c3ef78da24db936e45a25.tar.xz
org.eclipse.cdt-a9b67d0828267919e63c3ef78da24db936e45a25.zip
Bug 565553 - Improve performance of build command parsers with large number of files
Optimize MSVCBuildCommandParser.unescapeString. Instead of running a Matcher/replaceAll every time, check first if the string contains the characters to unescape first. Finding a substring in a string is much faster than matching a pattern so this saves quite a bit of time on large MSVC projects since many options will not have the characters needed to be unescaped. Change-Id: If2ad7892c29374458d5de446d4492ce3ba576c9c Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions

Back to the top