On 2018-08-06 00:28, Cameron Simpson wrote:
I'm tinkering with a module which scans video files. The MP4 parser has a
`discard_data` parameter which tells certain parts of the parser to discard
some of the scanned data, particularly the MDAT box parse because I don't
normally want to blow the mac
On 05Aug2018 23:55, eryk sun wrote:
On Sun, Aug 5, 2018 at 11:28 PM, Cameron Simpson wrote:
It seems obvious to me that a method returning a memoryview of the mapped
file would be very handy here: no data copies at all, and not even any I/O
unless the data are accessed. But I see no such metho
On Sun, Aug 5, 2018 at 11:28 PM, Cameron Simpson wrote:
>
> It seems obvious to me that a method returning a memoryview of the mapped
> file would be very handy here: no data copies at all, and not even any I/O
> unless the data are accessed. But I see no such method in the documentation.
mmap ob
I should add that I'm using CPython 3 on a Mac, happy to receive CPython 3
UNIX-specific advice. - Cameron
On 06Aug2018 09:28, Cameron Simpson wrote:
I'm tinkering with a module which scans video files. The MP4 parser
has a `discard_data` parameter which tells certain parts of the parser
to d
I'm tinkering with a module which scans video files. The MP4 parser has a
`discard_data` parameter which tells certain parts of the parser to discard
some of the scanned data, particularly the MDAT box parse because I don't
normally want to blow the machine's RAM on a huge video stream - I'm nor