
24 Jun
2014
24 Jun
'14
5:10 p.m.
On Tue, 2014-06-24 at 12:08 -0500, Stuart A. Kurtz wrote:
Might it be more efficient to bypass counting altogether, and just use the Haskell version of stat?
getFileSize :: FilePath -> IO Int64 getFileSize path = do stat <- getFileStatus path let COff fs = fileSize stat return fs
Obviously. I assumed the original author would do something else while processing the file, not just count bytes... Nicolas