Skip to content

Conversation

firewave
Copy link
Collaborator

No description provided.

Copy link

@firewave
Copy link
Collaborator Author

firewave commented Sep 12, 2025

Encountered while looking into https://trac.cppcheck.net/ticket/12861 which does not contain any non-keyword types.

Running that code with DISABLE_VALUEFLOW=1
620,494,011-> 560,704,707

Reduction of actual lookups in the affected calls
Library::detectContainerInternal()- 262,190 -> 26
Library::detectSmartPointer()- 65,548 -> 7

Callgrind in CI
57,705,030,015-> 56,431,293,618

@firewave
Copy link
Collaborator Author

No differences with #7800.

@chrchr-github
Copy link
Collaborator

Are there other types of token that it's worth bailing out for?

@firewave
Copy link
Collaborator Author

Most likely, but I only went by profiling results (there's more improvements coming from the sample in question). See also #7373.

@chrchr-github chrchr-github merged commit fea194b into danmar:main Sep 13, 2025
61 checks passed
@firewave firewave deleted the detect-con-x branch September 13, 2025 19:36
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