Function polars::chunked_array::builder::alloc::allocate_aligned_zeroed [−]
pub fn allocate_aligned_zeroed<T>(size: usize) -> NonNull<T> where
T: NativeType,
Expand description
Allocates a cache-aligned memory region of size
bytes with 0
on all of them.
This is more performant than using allocate_aligned and setting all bytes to zero
and is semantically similar to calloc
.