diff options
author | Marc-Andre Laperle | 2020-07-31 20:23:33 +0000 |
---|---|---|
committer | Marc-André Laperle | 2020-08-24 03:21:14 +0000 |
commit | e933f46289c9e7c08356128c9c10abd1892a2b7a (patch) | |
tree | e76abdb15a59ed69eec834fcb9908c3b08c1d4e8 /core/org.eclipse.cdt.core.win32/.classpath | |
parent | a9b67d0828267919e63c3ef78da24db936e45a25 (diff) | |
download | org.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/.classpath')
0 files changed, 0 insertions, 0 deletions