refs #12861 - exit early in `ConditionHandler::traverseCondition()`
Analyzing the code from https://trac.cppcheck.net/ticket/12861:
Clang 20 - 11,437,539,974 -> 3,423,215,226 -> 737,254,030
This needs more testing as it might be detrimental in cases which are not affected by excessive astTop() calls.
Can we reduce the timeout in the #12847 test with this?
Can we reduce the timeout in the #12847 test with this?
Yes. I forgot to add the reference for the code I tested it with.
Clang 20 -
11,437,539,974->3,423,215,226->737,254,030
The second drop does not occur. It was a mistake in an intermediate version.
Clang 20 -
11,437,539,974->3,423,215,226->737,254,030The second drop does not occur. It was a mistake in an intermediate version.
There's a way to address it anyways but let's do that in a separate PR since it also might have detrimental effects on other cases.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code