Re: [Numpy-discussion] Memory mapping and NPZ files

Dec. 11, 2015
5:22 a.m.
Mathieu Dubois <mathieu.dubois@icm-institute.org> wrote:
The point is precisely that, you can't do memory mapping with Npz files (while it works with Npy files).
The operating system can memory map any file. But as npz-files are compressed, you will need to uncompress the contents in your memory mapping to make sense of it. I would suggest you use PyTables instead of npz-files. It allows on the fly compression and uncompression (via blosc) and will probably do what you want. Sturla
3380
Age (days ago)
3381
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mathieu Dubois
-
Sturla Molden