News for hackers. Stuff that matters.
Re:Linux memory manager and your big data by phaemon on Wednesday November 27, 2013 @05:22PM (#6811569)
Actually, I'm a little baffled how someone who knows about stat has such an odd idea about how files work.

How could you possibly know how many newline characters are in a file without looking in the file?

Re:Linux memory manager and your big data by damm on Friday November 29, 2013 @07:55PM (#6821730)
Unless you disable this; ext filesystems normally store this and can be pulled out of 'stat' easily. Sure you can read the whole file and count every line; or you can trust what the filesystem's metadata says it is.