[−][src]Module dinotree_alg::par
use the broccoli crate instead
Contains code to write generic code that can be run in parallel, or sequentially. The api is exposed in case users find it useful when writing parallel query code to operate on the tree.
Structs
Parallel | Deprecated Indicates that an algorithm should run in parallel up until the specified height. |
Sequential | Deprecated Indicates that an algorithm should run sequentially. Once we transition to sequential, we always want to recurse sequentially. |
Enums
ParResult | Deprecated Returns either two Parallels or two Sequentials. |
Constants
SWITCH_SEQUENTIAL_DEFAULT | Deprecated A suggested height at which to switch from parallel to sequential. Once the tree construction reaches this height, it will no longer call rayon::join(), on each sub problem. |
Traits
Joiner | Deprecated Common trait over Parallel and Sequential to make writing generic code easier. |
Functions
compute_level_switch_sequential | Deprecated Returns the height at which the recursive construction algorithm turns to sequential from parallel. |