The situation is: there is a file with 14 294 508 unsigned integers and 13 994 397 floating-point numbers (need to read double
s). Total file size is ~250 MB.
Using std::istream
takes ~30sec. Reading the data from file to memory (just copying bytes, without formatted input) is much faster. Is there any way to improve reading speed without changing file format?