Commit e120124
perf(no-unnecessary-type-arguments): use isTypeIdenticalTo + flags checks (#723)
AI wrote this when trying to find why a rule was so slow against my
company's internal codebase.
Before these changes
<img width="890" height="661" alt="image"
src="https://github.com/user-attachments/assets/f1bfcd38-bb33-4515-8344-72e0d3fddd92"
/>
after
<img width="885" height="645" alt="image"
src="https://github.com/user-attachments/assets/e2851958-2a4a-47ad-88c5-9e2133fc3481"
/>
---------
Co-authored-by: Cameron <cameron.clark@hey.com>1 parent d7837ad commit e120124
File tree
3 files changed
+4
-4
lines changed- internal/rules/no_unnecessary_type_arguments
- shim/checker
3 files changed
+4
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments