in place input

andy at post.tau.ac.il andy at post.tau.ac.il
Sun Oct 12 05:04:45 EDT 2003


i'm working on an python application with intensive i/o.

file.read() and its cousins all allocate and return a new string.

I want to know if there is a way in which I can provide the space on which the 
data is going to be put, in order to recycle memory, instead of allocating it 
each time again and again.

thanks





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/





More information about the Python-list mailing list