◐ Shell
clean mode source ↗

optimized `std::stack` usage in `simplecpp::TokenList::combineOperators()` by firewave · Pull Request #659 · cppcheck-opensource/simplecpp

This cuts the Ir for the function in question in half.

Running ./testrunner in valgrind:

GCC 16 - 73,545,066 -> 73,089,626 -> 72,638,322
Clang 22 - 71,260,479 -> 70,736,809 -> 70,321,207