Performance: Add faster Any(...) Extensions for Array and List#9461
Performance: Add faster Any(...) Extensions for Array and List#9461henon merged 2 commits intoMudBlazor:devfrom xC0dex:feature/array-extensions
Conversation
|
@henon @ScarletKuro What's your opinion on that? |
|
Fyi |
I don't see any usage of |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #9461 +/- ##
==========================================
+ Coverage 89.82% 90.53% +0.70%
==========================================
Files 412 406 -6
Lines 11878 12715 +837
Branches 2364 2462 +98
==========================================
+ Hits 10670 11511 +841
+ Misses 681 641 -40
- Partials 527 563 +36 ☔ View full report in Codecov by Sentry. |
Thanks. I didn't know that such a label existed. I'll try to use the right labels in the future 👍 |
|
There is a SonarCloud C# rule for this, that's where I had the idea from. |
|
Why are they |
|
I guess if public they could cause conflicts with similar extensions of our users |

Hey,
what do you think about this approach to gain some performance improvements? We are using Linq in some cases where it's not the best option regarding performance. With this little trick, we get a performance improvement as these
Anymethods will be used instead of the default Linq method. I think there are some more methods that we could add. We don't have to change existing code to make use of this.Type of Changes
Checklist
dev).