Is there any function similar to `numpy.memmap`
Boltzmachine opened this issue · comments
Do you mean it is possible to implement this in my code through the current ndarray
crate?
Yes, you can for example use e.g. ArrayView(Mut)::from_slice_ptr
and MmapRaw
but you wont be able to freely pass this around and instead manually need to ensure that the MmapRaw
stays alive long enough so that your array views are valid.
Thanks. Will try