Repository navigation
Commit 23fa921
isAliasOf: filter the alias values once per reference
The values of the reference token were filtered again for every node
in the expression. Filter them once and skip the AST search when there
is nothing that can match.
No changed warnings in a 50 package debian corpus, ValueFlow ~10% faster.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 8392f14 commit 23fa921
2 files changed
Lines changed: 31 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
| 1091 | + | |
1091 | 1092 | | |
1092 | 1093 | | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1093 | 1104 | | |
1094 | 1105 | | |
1095 | 1106 | | |
1096 | | - | |
| 1107 | + | |
1097 | 1108 | | |
1098 | 1109 | | |
1099 | 1110 | | |
1100 | 1111 | | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1114 | 1117 | | |
1115 | 1118 | | |
1116 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8351 | 8351 | | |
8352 | 8352 | | |
8353 | 8353 | | |
| 8354 | + | |
| 8355 | + | |
| 8356 | + | |
| 8357 | + | |
| 8358 | + | |
| 8359 | + | |
| 8360 | + | |
| 8361 | + | |
| 8362 | + | |
| 8363 | + | |
| 8364 | + | |
| 8365 | + | |
| 8366 | + | |
| 8367 | + | |
8354 | 8368 | | |
8355 | 8369 | | |
8356 | 8370 | | |
| |||
0 commit comments