pub fn get_available_parallelism() -> Option<usize>Expand description
Estimates the degree of parallelism the program should use, caching the result after the first call.
This is currently implemented using std::thread::available_parallelism, but might change in the future.
Returns None if the underlying functions fails.