polars_utils

Module mem

Source

Functions§

madvise_populate_read
madvise() with MADV_POPULATE_READ on linux systems. This a no-op on non-linux systems.
madvise_sequential
madvise() with MADV_SEQUENTIAL on unix systems. This is a no-op on non-unix systems.
madvise_willneed
madvise() with MADV_WILLNEED on unix systems. This is a no-op on non-unix systems.
prefetch_l2
Attempt to prefetch the memory in the slice to the L2 cache.
to_mutable_slice
Safety