The situation is this: there is a file with 14,294,508 unsigned integers and 13,994,397 floating point numbers (you must read doubles). The total file size is ~ 250 MB.
Usage std::istreamtakes ~ 30 seconds. Reading data from a file to memory (just copying bytes without formatted input) is much faster. Is there a way to improve read speed without changing the file format?
source
share