Finding size of Variable
Asaf Las
roegltd at gmail.com
Tue Feb 4 07:53:19 EST 2014
On Tuesday, February 4, 2014 2:43:21 PM UTC+2, Ayushi Dalmia wrote:
>
> As I said, I need to merge large files and I cannot afford more I/O
> operations. So in order to minimise the I/O operation I am writing in
> chunks. Also, I need to use the merged files as indexes later which
> should be loaded in the memory for fast access. Hence the concern.
> Can you please elaborate on the point of taking lines into consideration?
have you tried os.sendfile()?
http://docs.python.org/dev/library/os.html#os.sendfile
More information about the Python-list
mailing list