Skip to main content

oxilean_codegen/opt_parallel/
parallelconfig_traits.rs

1//! # ParallelConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `ParallelConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ParallelConfig;
12
13impl Default for ParallelConfig {
14    fn default() -> Self {
15        ParallelConfig {
16            min_speedup_threshold: 1.5,
17            max_functions: 1024,
18            allow_speculative: false,
19            hardware_threads: 8,
20        }
21    }
22}