[C++] Is it possible to use threads to speed up memory-mapped file reading ?
- by Kidpaddle2
Hi there,
I want to read a file as fast as possible (40k lines), and I was wondering if I could just launch one thread per line, using boost::threads on boost::iostreams memory-mapped files. Or if it was just wasting my time because it's just impossible for two threads to access the same file at the same time.
Thanks aforehand.
Sincerely,
Kidpaddle2