Skip to content

refs #14593 - tokenize.cpp: improved string concatination in setScopeInfo()#8351

Draft
firewave wants to merge 1 commit intodanmar:mainfrom
firewave:scope-concat
Draft

refs #14593 - tokenize.cpp: improved string concatination in setScopeInfo()#8351
firewave wants to merge 1 commit intodanmar:mainfrom
firewave:scope-concat

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

firewave commented Mar 18, 2026

The impact of this is minor (will add numbers later) but as it is in a hot path it allows us to make sure that the helpers which will be added in #8344 do not cause any regressions.

@firewave firewave changed the title refs #14593 - tokenize.cpp: impoved concatination in setScopeInfo() refs #14593 - tokenize.cpp: improved string concatination in setScopeInfo() Mar 18, 2026
@sonarqubecloud
Copy link

@firewave
Copy link
Collaborator Author

Callgrind in CI: 54,583,924,713 -> 54,588,545,857

That is actually slower by the amount I saw it improve locally...

@chrchr-github
Copy link
Collaborator

Maybe a reserve() would help?

@firewave firewave marked this pull request as draft March 20, 2026 13:10
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