Skip to content

removed usage of default parameters from Token::insertToken*()#7813

Merged
chrchr-github merged 1 commit intodanmar:mainfrom
firewave:insert-tok-xxy
Sep 11, 2025
Merged

removed usage of default parameters from Token::insertToken*()#7813
chrchr-github merged 1 commit intodanmar:mainfrom
firewave:insert-tok-xxy

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

this avoids the unnecessary creation of std::string objects

@firewave
Copy link
Copy Markdown
Collaborator Author

Mostly prevents the performance regression caused by #7296.

@firewave
Copy link
Copy Markdown
Collaborator Author

Callgrind from CI:
57,725,728,906 -> 57,701,260,555

Comment thread lib/token.h Outdated
Comment thread lib/token.h Outdated
Comment thread lib/token.h Outdated
this avoids the unnecessary creation of `std::string` objects
@sonarqubecloud
Copy link
Copy Markdown

@chrchr-github chrchr-github merged commit 040730e into danmar:main Sep 11, 2025
63 checks passed
@firewave firewave deleted the insert-tok-xxy branch September 11, 2025 08:00
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