Expand description
The spliter crate provides a simpler way to implement Rayon’s ParallelIterator trait than
Rayon’s plumbing module.
Implement the Spliterator trait to teach your Iterator how to split itself in half, and
spliter will wrap it into a ParallelIterator for you. Just call par_split().
This crate differs from Rayon’s default behavior by continuing to split even after it starts consuming items. This makes it ideal for tasks like graph or tree search where the dataset can grow during iteration. See this post for the story behind its development.
Structs§
- ParSpliter
- An adapter from a Spliterator to a ParallelIterator.
Traits§
- Parallel
Spliterator - Converts a Spliterator into a ParallelIterator.
- Spliterator
- An iterator that can be split.