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 has basically to do with disk seeks and cache+memory utilization. and you can look around for the same for details on any of your fav search engine. cheers, amit. > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- ---- Amit Khemka -- onyomo.com Home Page: www.cse.iitd.ernet.in/~csd00377 Endless the world's turn, endless the sun's Spinning, Endless the quest; I turn again, back to my own beginning, And here, find rest. -- http://mail.python.org/mailman/listinfo/python-list