There are two Rust things I'd really like to dive into next: - Understanding how to and then writing a `concurrent_map(limit, closure)` adaptor, and - understanding how it works and then contributing to rust-analyzer
-
Show this thread
-
-
Replying to @sgrif
Yes, but that was not obvious from the tweet :) I want to have a way to speed up a slow map op (say, parse a file) by doing it in parallel and buffering its results, to then return *a regular iterator* and yield *in the original order* (yes, this is a very specific requirement)
2 replies 0 retweets 0 likes -
Replying to @killercup @sgrif
Wait, does a rayon slice.par_iter().map(...) not return the elements in order?
1 reply 0 retweets 0 likes -
lol if it does I made my live severly more complicated than it needed to be
2 replies 0 retweets 0 likes
Replying to @killercup @zayenz
I'm pretty sure it does
12:15 PM - 21 Oct 2018
from Albuquerque, NM
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.