spliter 0.1.0

A simple way to implement Rayon's ParallelIterator
Documentation
  • Coverage
  • 60%
    6 out of 10 items documented0 out of 5 items with examples
  • Size
  • Source code size: 20.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • tavianator/spliter
    19 4 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tavianator

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.