Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 985 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 985 Bytes

Loop Package Documentation Build

The package allows for processing iterators in parallel.

Example

let map = |item: &_, context| std::io::Result::Ok(*item * context);
let (items, results): (Vec<_>, Vec<_>) = r#loop::parallelize(0..10, map, 2, None).unzip();

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.