Parsing should be faster than I/O. Set up two buffers and have one thread reading into buffer A while you parse buffer B with a second thread.
...and then flip buffers whenever the slower of the two has completed.
Parsing should be faster than I/O. Set up two buffers and have one thread reading into buffer A while you parse buffer B with a second thread.
...and then flip buffers whenever the slower of the two has completed.