Show
Ignore:
Timestamp:
11/21/07 16:41:06 (17 years ago)
Author:
jerome
Message:

Re-optimize disk access by not reopening and re-reading first and last block
more than once.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/plain.py

    r492 r493  
    3838           read the first line, and if it doesn't end in CR or LF 
    3939           we consider it's not plain text. 
     40            
     41           TODO : use first and last block's content instead of readline(). 
    4042        """    
    4143        line = self.infile.readline()