Skip to content

inlined findAstNode() calls#4146

Merged
orbitcowboy merged 1 commit into
cppcheck-opensource:mainfrom
firewave:findast
May 31, 2022
Merged

inlined findAstNode() calls#4146
orbitcowboy merged 1 commit into
cppcheck-opensource:mainfrom
firewave:findast

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

See https://blog.demofox.org/2015/02/25/avoiding-the-performance-hazzards-of-stdfunction/ - similar to #3828.

Testing an -O2 build with --enable=all --inconclusive on mame_regtest code (with some additional local speed hacks applied as well as Boost SmallVector):
GCC 11 32,597,380,507 -> 22,418,156,771
Clang 13 27,462,468,325 -> 18,463,123,276

@orbitcowboy orbitcowboy merged commit 3d5d2e8 into cppcheck-opensource:main May 31, 2022
@firewave firewave deleted the findast branch May 31, 2022 11:52
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