Efficiently schedule work and inspect the hardware environment on many-processor systems.
On systems with 100+ logical processors, taking direct control over work placement can yield superior performance by ensuring data locality and avoiding expensive cross-processor transfers.
use ProcessorSet;
let threads = default.spawn_threads;
See also
More details in the package documentation.
This is part of the Folo project that provides mechanisms for high-performance hardware-aware programming in Rust.