22 Apr
2016
22 Apr
'16
12:18 p.m.
On 21 Apr 2016 at 20:47, Aaron Boxer wrote:
The read thread will spend a lot of time waiting for file IO to complete. Would it be faster to us the ASIO classes to do the reading?
No, it won't. Memory mapped file i/o is almost guaranteed to be the correct technique to use here. Simply map the entire file into memory, and fire threads at processing it. Let the kernel figure out how best to do the i/o. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/