9 Mar
2007
9 Mar
'07
1:07 a.m.
Aljaz wrote:
Whats the 'proper' way to read files to memory? How do text editors do this? They load the same file in 4 seconds! I need a fastest way to read about 10 000 lines from text file at once..
Not exactly relevant, but a co-worker of mine wrote some blog entries about the performance of writing files and a bit about reading. For reading, the main point was that you can read a unfragmented file much faster than a fragmented one. http://justin-michel.spaces.live.com/?_c11_BlogPart_blogpart=blogview&_c=BlogPart&partqs=cat%3dCode%2bPerformance KevinH -- Kevin Heifner heifner @ ociweb.com http://heifner.blogspot.com Object Computing, Inc. (OCI) www.ociweb.com