fn configure_thread_pool(parallelism: usize) {
    rayon::ThreadPoolBuilder::new()
        .num_threads(parallelism)
        .build_global()
        .unwrap();
}
/// Configures global thread pool to use desired number of threads
Configures global thread pool to use desired number of threads
Configures global thread pool to use desired number of threads
fn configure_thread_pool(parallelism: usize) {
    rayon::ThreadPoolBuilder::new()
        .num_threads(parallelism)
        .build_global()
        .unwrap();
}
fn configure_thread_pool ( parallelism : usize ) { rayon :: ThreadPoolBuilder :: new ( ) . num_threads ( parallelism ) . build_global ( ) . unwrap ( ) ; }
Configures global thread pool to use desired number of threads
Configures global thread pool to use desired number of threads
parallelism
usize
parallelism
usize