Function arrow::alloc::allocate_aligned_zeroed
source ·
[−]pub fn allocate_aligned_zeroed<T: NativeType>(size: usize) -> NonNull<T>
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
.