Repository navigation
Commit 9c1d989
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 7e562f0 commit 9c1d989
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 | |
|---|---|---|---|
| |||
8188 | 8188 | | |
8189 | 8189 | | |
8190 | 8190 | | |
| 8191 | + | |
| 8192 | + | |
| 8193 | + | |
| 8194 | + | |
| 8195 | + | |
| 8196 | + | |
| 8197 | + | |
| 8198 | + | |
| 8199 | + | |
| 8200 | + | |
| 8201 | + | |
| 8202 | + | |
| 8203 | + | |
| 8204 | + | |
8191 | 8205 | | |
8192 | 8206 | | |
8193 | 8207 | | |
| |||
0 commit comments