[Numpy-discussion] Adding `offset` argument to np.lib.format.open_memmap and np.load

Sturla Molden sturla@molden...
Mon Feb 28 18:58:08 CST 2011


Den 01.03.2011 01:50, skrev Sturla Molden:
> Mapping large files from the start will not always work on 32-bit
> systems. That is why mmap.mmap take an offset argument now (Python 2.7
> and 3.1.)
>

Also, numpy.memmap is stricty speaking not needed. One can just use 
mmap.mmap and pass it to np.frombuffer.

Sturla


More information about the NumPy-Discussion mailing list