refs #10765/#11262 - Token: introduced cache for isAliasOf() calls#8138
refs #10765/#11262 - Token: introduced cache for isAliasOf() calls#8138firewave wants to merge 2 commits intodanmar:mainfrom
isAliasOf() calls#8138Conversation
|
Using the code from https://trac.cppcheck.net/ticket/10765#comment:4: The actual amount of There is newly introduced overhead in |
isAliasOf() callsisAliasOf() calls
579e9cf to
fb87067
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
Running it on https://github.com/firewave/mame_regtest/blob/master/mame_regtest.c provides better results: |
This comment was marked as off-topic.
This comment was marked as off-topic.
fb87067 to
272c4d0
Compare
isAliasOf() callsisAliasOf() calls
272c4d0 to
2a1086c
Compare
|
This causes false positives in the selfcheck: |
|
No differences with #7800. |
2a1086c to
1db9bfb
Compare
1db9bfb to
0ad3b3a
Compare
|
Looks better now - CI seemed to be a tad slower in the previous case. Before: After: |
The problem is that it is called in ValueFlow creation but also depends on the ValueFlow values - so it cannot be cached. Similar to #7573 . |



No description provided.