Implementing file reading in C/Python
Grant Edwards
invalid at invalid
Fri Jan 9 11:59:41 EST 2009
On 2009-01-09, Johannes Bauer <dfnsonfsduifb at gmx.de> wrote:
> I've come from C/C++ and am now trying to code some Python because I
> absolutely love the language. However I still have trouble getting
> Python code to run efficiently. Right now I have a easy task: Get a
> file,
If I were you, I'd try mmap()ing the file instead of reading it
into string objects one chunk at a time.
--
Grant Edwards grante Yow! I'm DESPONDENT ... I
at hope there's something
visi.com DEEP-FRIED under this
miniature DOMED STADIUM ...
More information about the Python-list
mailing list