Skip to main content

set_pages_cache

Function set_pages_cache 

Source
pub fn set_pages_cache(size: usize)
👎Deprecated since 1.11.0:

the cache limit depends on the page size, use set_page_cache_size()

Expand description

Sets the maximum number of cached page allocations for every page size on the current thread. Cached pages above the limit are released.

This setting affects only the thread on which it is called.