RFC 1130 - additions to collection functions in Array.Parallel #719
Replies: 2 comments 3 replies
-
Add
Have we skimmed through other Parallel implementations for what they have, make sure we're not missing something that would be helpful http://fsprojects.github.io/FSharp.Collections.ParallelSeq/ comes to mind. Otherwise I think this looks fine. |
Beta Was this translation helpful? Give feedback.
-
Thanks, the functional additions make sense. The "With" ones though, that would imply keeping state around and I do not see it as an F# idiomatic way. |
Beta Was this translation helpful? Give feedback.
-
This is a discussion for RFC 1130 building on Make FSharp.Core collection functions for Array.Parallel more regular.
The fslang suggestions uses the phrase " lots of standard functions are missing" and I would like to use this discussion to evaluate the scope of the addition, i.e. to see what is generally understoof by "standard" and where people see the biggest benefit of Array.Parallel on top of the proposed functions.
All the functions mentioned in the suggestion make sense and I marked them as "ADD" (to be added by this extension).
I excluded all functions about appending/removing/updating data, and also all functions that are already O(1) even without using parallelism.
For the rest, I would be tempted to not implement them unless strongly voted for here or elsewhere.
Thinking about it, the fslang-design PR itself might be a better place to raise points to individual comments, because of the "review line-by-line" nature which a PR enables.
Beta Was this translation helpful? Give feedback.
All reactions