Having an extra integer variable to hold onto an i or i-1 value is inefficient, for "if (m_token.at(i) != chZero)", the code under "fDigitsFound" will always run, so it makes sense to put the fDigitsFound code under the if statement, which can return from the function entirely instead of breaking. ### How changes were validated: - Manual Testing verified the code having identical behavior as before, with no side effects. |
||
---|---|---|
.. | ||
build | ||
CalcManager | ||
Calculator | ||
CalculatorUITestFramework | ||
CalculatorUITests | ||
CalculatorUnitTests | ||
CalcViewModel | ||
Calculator.sln | ||
CMakeLists.txt | ||
nuget.config | ||
Settings.XamlStyler |