Skip to main content

get_thread_cache

Function get_thread_cache 

Source
pub fn get_thread_cache() -> Option<SharedBm25Cache>
Expand description

Clone the current thread’s shared BM25 cache, if any. Lets composer tools propagate the resident cache into a budgeted worker thread so a slow cold build warms the same cache instead of being wasted work.