Open zhengyi-yang opened 4 years ago
I think we could do that, but perhaps it'd be better to add .iter()
to queues (similar to channels), and then you could convert the iterator into a parallel one by doing .par_iter()
or .into_par_iter()
(I forget which one).
Is it possible to implement rayon's
par_iter
andinto_par_iter
forcrossbeam::queue
?