in reply to What eats up less resources?
Try it yourself with benchmark :-)
Reading record by record is buffered anyway, so it is my opinion that, since your file grows in time, slurping it in a single read would use much more memory in the long run.
-- TMTOWTDI
|
|---|