Function libmimalloc_sys::mi_malloc_small
source · pub unsafe extern "C" fn mi_malloc_small(size: usize) -> *mut c_void
Expand description
Allocate an object of no more than MI_SMALL_SIZE_MAX
bytes.
Does not check that size
is indeed small.
Note: Currently mi_malloc
checks if size
is
small and calls this if
so at runtime, so its’ only worth using if you know for certain.