pub fn estimate_best_thread_channel_capacity(n_threads: usize) -> usizeExpand description
TODO: actually do an estimation based on the available system memory etc. This is just a heuristic, scale a large capacity with the number of threads linearly.