View Single Post
Old 12-03-2007, 07:07 PM   #10 (permalink)
Karl
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default

I just want to point out that it can be a very bad idea to use file. Depending on the size of the file contents you could be better off parsing the file in chunks using a temporary buffer, this is especially true when dealing with large files.
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Karl is offline  
Reply With Quote