[Python-Dev] improvements for mmap (original) (raw)
Neal Becker ndbecker2 at gmail.com
Thu Jan 8 17:00:52 CET 2009
- Previous message: [Python-Dev] Can someone explain the fast_block_end manipulation?
- Next message: [Python-Dev] improvements for mmap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'd like to suggest some improvements from mmap
mmap assign to slice only accepts a string. This is unfortunate, because AFAIK a string can only be created by copying data, and this is wasteful for large data transfers. mmap should accept any object supporting buffer protocol as well as string.
buffer (mmap_obj) gives a read_only buffer. There should be a way to make this read_write.
mmap_obj does not support weak ref.
- Previous message: [Python-Dev] Can someone explain the fast_block_end manipulation?
- Next message: [Python-Dev] improvements for mmap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]