1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00
cdt/windows
Marc-Andre Laperle 08e8e57162 Bug 565553 - Improve performance of build command parsers with large number of files
Narrow down parsers based on option string

Instead of trying to match all patterns one by one, we can check the
start of the option string to be parsed and narrow down which pattern
(parsers) should be used.

Doing so is much less elegant code-wise as we are "unrolling" the
beginning of the patterns by hand, but it gives a good speed up. Around
300ms saved with a test of LLVM code base (~50% of parseOption time) and
much larger gains on much larger projects or course.

Change-Id: I9e841e7233078d6e38ad08943d98966d0e3c661e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-10-04 14:29:11 -04:00
..
org.eclipse.cdt.msw-feature Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.msw.build Bug 565553 - Improve performance of build command parsers with large number of files 2020-10-04 14:29:11 -04:00
org.eclipse.cdt.msw.build.tests Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
pom.xml [releng] Bump version to 10.0.0 2020-04-11 17:46:58 -04:00