Skip to content

Parallel execution #52

Open
Open

Description

@thibran

It would be nice if loop-rs could run the loop body in parallel (using num-cpu).
Suggestion for the flag name: --parallel -p.

Activity

  1. Miserlou commented on Mar 7, 2019

    @Miserlou
    Owner

    I think I'd be fine with this, although it introduces some questions - what happens to $COUNT, etc.

    I'd be happy with this if it could be implemented in a simple way with strong bounds on the requirements that don't creep into a huge mess. At a certain point, just use parallel rather than loop.

    Want to try a PR?

  2. thibran commented on Mar 7, 2019

    @thibran
    Author

    First thought was: well this will be a lot of work and I shouldn't start yet another project, but then looking at the code I think I can give it a try 😃

  3. thibran commented on Mar 7, 2019

    @thibran
    Author

    Do you have a reason not to use the Rust 2018 edition?

  4. Miserlou commented on Mar 7, 2019

    @Miserlou
    Owner

    One of the goals for the year is to have this included in Debian, which means targeting specific version. However, I don't have specific information that would prevent us using newer Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions