pub fn deserialize_array_zero_copy<P>(path: P) -> Result<(ArrayMetadata, Mmap)>Expand description
Zero-copy deserialization into a memory-mapped array view
This function provides efficient deserialization by memory-mapping the file and returning a view into the mapped memory, avoiding data copying entirely.
§Arguments
path- Path to the input file
§Returns
Result<(ArrayMetadata, memmap2::Mmap)>- Metadata and memory map
§Safety
The returned memory map must outlive any array views created from it.