Subject: # of lines in a file
From: blufur <blufur gmail.com>
Date: Tue, 21 Aug 2007 07:24:03 +0900
is there built-in method to determine the number of lines in a file?
i tried file.readlines.length but it is very slow (dealing with files
> 1 million lines)
thanks,
DAN