Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2020-07-31 20:23:33 +0000
committerMarc-André Laperle2020-08-24 03:21:14 +0000
commite933f46289c9e7c08356128c9c10abd1892a2b7a (patch)
treee76abdb15a59ed69eec834fcb9908c3b08c1d4e8 /core/org.eclipse.cdt.core.win32/META-INF
parenta9b67d0828267919e63c3ef78da24db936e45a25 (diff)
downloadorg.eclipse.cdt-e933f46289c9e7c08356128c9c10abd1892a2b7a.tar.gz
org.eclipse.cdt-e933f46289c9e7c08356128c9c10abd1892a2b7a.tar.xz
org.eclipse.cdt-e933f46289c9e7c08356128c9c10abd1892a2b7a.zip
Bug 565553 - Improve performance of build command parsers with large number of files
Compile a pattern ahead of time and early return. The first pattern is used to trim extra characters that are not contained within the actual option pattern. If this first pattern doesn't match, there is no point in continuing because it is a superset. Times before/after, only counting AbstractOptionParser.parseOption LLVM before: 4289ms, after: 622ms Change-Id: Id40fc9a35359c39aea00ba14813ffe6c343158fc Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
Diffstat (limited to 'core/org.eclipse.cdt.core.win32/META-INF')
0 files changed, 0 insertions, 0 deletions

Back to the top