Replies: 2 comments 1 reply
-
|
Originally posted by @jonocarroll in #25 (comment)
|
Beta Was this translation helpful? Give feedback.
-
|
@jonocarroll responding here 😊 As we are still in the learning stage (e.g. learning Rust, learning about multi-threading, learning about However, I didn't really expect performance gains yet (with the operation implemented), as I think with such a simple operation, splitting the vector into chunks (and re-combining) is probably more expensive than any performance gains we would get using multiple threads. I did some benchmarking, and it looks like we might start to see some performance gains when summing very large vectors (~1 million elements), however, this is only comparing the single and multi-threaded versions of the function we wrote. Really though, the goal of the package, is to implement multi-threading for some standard |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Linking this here for reference. The Rust Cookbook chapter on concurrency has a section called Data Parallelism. This should be really helpful because it gives examples which are effectively
mutate,filter, andarrangein parallel.Beta Was this translation helpful? Give feedback.
All reactions