numpy.memmap advice?

Carl Banks pavlovevidence at
Thu Feb 19 19:28:47 CET 2009

On Feb 19, 10:00 am, sturlamolden <sturlamol... at> wrote:
> On 19 Feb, 03:13, Carl Banks <pavlovevide... at> wrote:
> > The offset parameter of mmap itself would be useful to map small
> > portions of gigabyte-sized files, and maybe numpy.memmap can take
> > advantage of that if the user passes an offset parameter.  
> NumPy's memmap is just a wrapper for Python 2.5's mmap. The offset
> parameter does not affect the amount that is actually memory mapped.

Yes, that's what I said, but in future numpy.mmap could be updated to
take advantage of mmap's new offset parameter.

Carl Banks

More information about the Python-list mailing list