Skip to main content

Module par_util

Module par_util 

Source

Constants§

PAR_THRESHOLD
Minimum element count to justify rayon overhead.

Functions§

set_num_threads
Set the number of rayon worker threads before the pool is first used.
should_parallelize
Returns true if the data size warrants parallel processing.
thread_pool