loop

Crates.ioloop
lib.rsloop
version0.1.0
sourcesrc
created_at2024-02-20 14:16:00.19336
updated_at2024-02-20 14:16:00.19336
descriptionThe package allows for processing iterators in parallel.
homepagehttps://github.com/stainless-steel/loop
repositoryhttps://github.com/stainless-steel/loop
max_upload_size
id1146433
size7,605
Owners (github:buoyantio:owners)

documentation

https://docs.rs/loop

README

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.

Commit count: 0

cargo fmt