Don't have a thread doing line by line file reads, just to have it in memory. There is a piece of software optimized for tasks like this, the OS.
Just mmap your file and start processing.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
load more comments
(1 reply)