Commit 1867e54
Optimize
* Initial plan
* Optimize hasAttribute to use List.exists instead of filterAttributes
Co-authored-by: michael-schwarz <13812333+michael-schwarz@users.noreply.github.com>
* Remove obsolete sm comment before hasAttribute
Co-authored-by: michael-schwarz <13812333+michael-schwarz@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: michael-schwarz <13812333+michael-schwarz@users.noreply.github.com>hasAttribute to avoid unnecessary list allocation (#222)1 parent f8f7378 commit 1867e54
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | | - | |
1429 | 1428 | | |
1430 | | - | |
| 1429 | + | |
1431 | 1430 | | |
1432 | 1431 | | |
1433 | 1432 | | |
| |||
0 commit comments