Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63910

Re: Python Fast I/o

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Python Fast I/o
Date 2014-01-14 09:40 -0500
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-EB17C5.09403414012014@news.panix.com> (permalink)
References <a9c545f2-fbc3-4ac4-81ee-a91f61c72b84@googlegroups.com> <mailman.5458.1389708197.18130.python-list@python.org> <53affb01-0c5e-46e3-9ff7-27a529db6425@googlegroups.com>

Show all headers | View raw


In article <53affb01-0c5e-46e3-9ff7-27a529db6425@googlegroups.com>,
 Ayushi Dalmia <ayushidalmia2604@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Fast I/o Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-14 05:50 -0800
  Re: Python Fast I/o Chris Angelico <rosuav@gmail.com> - 2014-01-15 01:03 +1100
    Re: Python Fast I/o Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-14 06:24 -0800
      Re: Python Fast I/o Chris Angelico <rosuav@gmail.com> - 2014-01-15 01:32 +1100
      Re: Python Fast I/o Roy Smith <roy@panix.com> - 2014-01-14 09:40 -0500
  Re: Python Fast I/o Tim Chase <python.list@tim.thechases.com> - 2014-01-14 08:18 -0600

csiph-web