Python Fast I/o

Roy Smith roy at panix.com
Tue Jan 14 09:40:34 EST 2014


In article <53affb01-0c5e-46e3-9ff7-27a529db6425 at googlegroups.com>,
 Ayushi Dalmia <ayushidalmia2604 at gmail.com> wrote:

> Which is more fast?
> Creating a 200 Mb string and then dumping into a file or dividing the 200 Mb 
> string into chunks and then writing those chunks. Won't writing the chunks 
> call more i/o operation?

This sounds like a simple experiment to try.  Write it both ways, time 
each one, and report your results back to the group.



More information about the Python-list mailing list