Skip to main content

PARALLEL_MIN_WALKS

Constant PARALLEL_MIN_WALKS 

Source
pub const PARALLEL_MIN_WALKS: usize = 3;
Expand description

Number of walks from which Simulator::new builds them on the rayon pool rather than serially (#860). Measured on an Apple M5 Max (18 cores) with 30-step geometric Brownian walks: one or two walks build no faster on the pool than serially, three already build faster. Longer walks only move the crossover lower.