Skip to content

Refactor to return concrete types instead of impl ParIter #130

@TechnoPorg

Description

@TechnoPorg

The standard library and rayon both return concrete types (Enumerate<Self>, Map<Self>, etc. ) from iterator trait functions, rather than impl ParIter, like orx-parallel does.

Refactoring orx-parallel to also return concrete types would be quite a large refactor, but will make use cases like enumeration, where the trait ParEnumerate is not part of ParIter, much more elegant; right now, .enumerate() can only be called immediately after into_par, as it has to be called on the concrete type Par.

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