Skip to main content

prove_pool_cache

Function prove_pool_cache 

Source
pub(crate) fn prove_pool_cache() -> &'static Mutex<HashMap<usize, Vec<Arc<ThreadPool>>>>
Expand description

Per-thread-count freelist of warm rayon pools, reused across proves so a long-running worker does not pay thread-spawn + cold-cache cost on every compression proof.