numpy.memmap advice?

Carl Banks pavlovevidence at gmail.com
Thu Feb 19 13:28:47 EST 2009


On Feb 19, 10:00 am, sturlamolden <sturlamol... at yahoo.no> wrote:
> On 19 Feb, 03:13, Carl Banks <pavlovevide... at gmail.com> 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