pub fn get_available_parallelism() -> usizeExpand description
Returns the estimated number of threads available for parallel execution.
This is a wrapper around std::thread::available_parallelism, providing a default value
of 1 if the system’s parallelism cannot be determined.