Skip to main content

set_cache_limit

Function set_cache_limit 

Source
pub fn set_cache_limit(limit: usize) -> Result<usize>
Expand description

Set the process-global allocator-cache limit in bytes and return its previous value.

The new limit affects all threads and evaluations.