Adding/ Removing with collection expression #8184
Unanswered
TonyValenti
asked this question in
General
Replies: 1 comment 2 replies
-
Can't define 'good', only you can do that :)
No upcoming syntax. However, our position on collection-expressions and collection-operations is that the compiler is free to make a lot of assumptions/optimizations there. Whether or not we will optimize really depends on how much value we see in it and how widespread we think those patterns are. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I want to mutate a collection using another collection, is it considered "good" to add range/remove range using a collection expression? Or is there potentially an upcoming syntax that will translate to multiple Operation/OperationRange calls?
I'm thinking of Add, Remove, Union, Intersect, etc with the different collections.
Beta Was this translation helpful? Give feedback.
All reactions