Storing last read position, quickly rewinding and then reading just what's new is way better approach than re-reading whole data. What if more than one line was added since your last parsing?
↧