Re: reading files in small chunks?

2006-04-14 Thread Rajesh Sathyamoorthy
Hi,What chunk sizes do you normally use in your code?Thank You.On 4/14/06, Amit Khemka <[EMAIL PROTECTED] > wrote:On 4/14/06, Rajesh Sathyamoorthy < [EMAIL PROTECTED]> wrote:> Hi,>> I wanted to know why it is more efficient to read a file in smaller chunks (> using file() or open() )? If this is no

Re: reading files in small chunks?

2006-04-14 Thread Amit Khemka
On 4/14/06, Rajesh Sathyamoorthy <[EMAIL PROTECTED]> wrote: > Hi, > > I wanted to know why it is more efficient to read a file in smaller chunks ( > using file() or open() )? If this is not done, will this lead to errors in > the data read or just results in slower performance? > > Thank You. It

Re: reading files in small chunks?

2006-04-14 Thread Rajesh Sathyamoorthy
Hi,Could I have some links? It would be very helpful.Thank You.On 4/14/06, Felipe Almeida Lessa wrote: Em Sex, 2006-04-14 às 13:45 +0800, Rajesh Sathyamoorthy escreveu:> I wanted to know why it is more efficient to read a file in smaller> chunks ( using file() or open() )?It's more efficient in som

Re: reading files in small chunks?

2006-04-13 Thread Felipe Almeida Lessa
Em Sex, 2006-04-14 às 13:45 +0800, Rajesh Sathyamoorthy escreveu: > I wanted to know why it is more efficient to read a file in smaller > chunks ( using file() or open() )? It's more efficient in some cases, and worse on others. It also depends on how you implement the read loop. I won't elaborate

reading files in small chunks?

2006-04-13 Thread Rajesh Sathyamoorthy
Hi,I wanted to know why it is more efficient to read a file in smaller chunks ( using file() or open() )? If this is not done, will this lead to errors in the data read or just results in slower performance? Thank You. -- http://mail.python.org/mailman/listinfo/python-list