Skip to content

Parallelization

Choose a tag to compare

@orxfun orxfun released this 29 May 08:06
· 55 commits to main since this release
6d3f76a

This release provides the initial support for parallelization over trees:

  • Introduces par and into_par methods on the Tree. These methods create parallel iterators over all nodes of the tree in arbitrary order. In other words, they are the parallel counterpart of the iter and into_iter methods of the tree.
  • These implementations use direct parallelization over the underlying pinned vector, and hence, result in efficient gains in computation time. Benchmarks and examples are added to test and experiment parallel computations.
  • Parallel execution is handled by the orx-parallel crate which is added as an optional dependency. Importantly note that "orx-parallel" requires "std". Therefore, for no-std use cases this features must be excluded. Since "orx-parallel" is added as a default feature, it must be excluded by --no-default-features.