Skip to content

Commit 3b324b8

Browse files
committed
Use hopefully faster crossbeam channel to receive parallelized results (#301)
Triggered by #349 (reply in thread)
1 parent 279461b commit 3b324b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-features/src/parallel/in_parallel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ where
4747
crossbeam_utils::thread::scope(move |s| {
4848
let receive_result = {
4949
let (send_input, receive_input) = crossbeam_channel::bounded::<I>(num_threads);
50-
let (send_result, receive_result) = std::sync::mpsc::sync_channel::<O>(num_threads);
50+
let (send_result, receive_result) = crossbeam_channel::bounded::<O>(num_threads);
5151
for thread_id in 0..num_threads {
5252
s.spawn({
5353
let send_result = send_result.clone();

0 commit comments

Comments
 (0)