estimate_best_thread_channel_capacity

Function estimate_best_thread_channel_capacity 

Source
pub fn estimate_best_thread_channel_capacity(n_threads: usize) -> usize
Expand 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.