-
Notifications
You must be signed in to change notification settings - Fork 1.6k
refs #10765/#11262 - Token: introduced cache for isMutableExpression() calls
#8145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This also gets rid of the Clang-only hack I introduced a while ago. Using the code from https://trac.cppcheck.net/ticket/10765#comment:4: Running it on https://github.com/firewave/mame_regtest/blob/master/mame_regtest.c : There is newly introduced overhead in |
|
Appears to have a massive impact on the CI. Before: After: |
|
No differences with #7800. |
|
| std::unique_ptr<SmallVector<ReferenceToken>> mRefs; | ||
| std::unique_ptr<SmallVector<ReferenceToken>> mRefsTemp; | ||
|
|
||
| std::int8_t mMutableExpr{-1}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An explanatory comment here or on isMutableExpr() would be nice.



No description provided.