Skip to content

avoid unnecessary container lookups in simplecpp::preprocess()#661

Merged
firewave merged 1 commit into
cppcheck-opensource:masterfrom
firewave:sizeof-xxxxx
Jun 16, 2026
Merged

avoid unnecessary container lookups in simplecpp::preprocess()#661
firewave merged 1 commit into
cppcheck-opensource:masterfrom
firewave:sizeof-xxxxx

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

Copy link
Copy Markdown
Collaborator Author

Running ./testrunner in valgrind:

GCC 16 - 73,545,066 -> 72,361,361
Clang 22 - 71,260,479 -> 70,567,918

@danmar danmar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels safer also. a typo would not have been detected by the compiler.

@firewave firewave merged commit 6ecc2a7 into cppcheck-opensource:master Jun 16, 2026
25 checks passed
@firewave firewave deleted the sizeof-xxxxx branch June 16, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants