Skip to main content

worker_pool_builder

Function worker_pool_builder 

Source
pub fn worker_pool_builder(threads: usize) -> ThreadPoolBuilder
Expand description

Rayon pool builder preconfigured with the analysis worker stack size.

Each worker registers its stack size, so a bounded parse of an ordinary file runs on the worker and only a file that needs more stack gets its own thread (fallow_extract::parse_bounded).