Implementing file reading in C/Python

Grant Edwards invalid at invalid
Mon Jan 12 16:46:14 CET 2009

On 2009-01-12, Sion Arrowsmith <siona at> wrote:
> In case the cancel didn't get through:
> Sion Arrowsmith  <siona at> wrote:
>>Grant Edwards  <invalid at invalid> wrote:
>>>2GB should easily fit within the process's virtual memory
>>Assuming you're in a 64bit world. Me, I've only got 2GB of address
>>space available to play in -- mmap'ing all of it out of the question.
> And today's moral is: try it before posting. Yeah, I can map a 2GB
> file no problem, complete with associated 2GB+ allocated VM. The
> addressing is clearly not working how I was expecting it too.

Cool.  I'd be very interested to to know how the performance
compares to open/read.

Grant Edwards                   grante             Yow! I think I am an
                                  at               overnight sensation right

More information about the Python-list mailing list