Skip to content

par_iter for Range*<char> #770

Closed
@CAD97

Description

@CAD97

With rust-lang/rust#72413, ranges of char are now iterable (in 1.45, releasing 2020-07-16). Rayon should support iterating them in parallel just like normal continuous integer ranges.

I've done experimentation previously, which suggested that chain(chars before surrogate range, chars after surrogate range) is the optimal ParallelIterator for Range*<char>.

I've very little experience with implementing parallel iterators, however, so that could be untrue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions