pub fn set_cache_limit(limit: usize) -> Result<usize>
Set the process-global allocator-cache limit in bytes and return its previous value.
The new limit affects all threads and evaluations.