3 ms·
Most applications do far more IO than what is necessary for the task. Anyway with a modern SSD I don't think you are right. My disk can do something like 3 GB/
by NohatCoder 5y ago
Most applications do far more IO than what is necessary for the task.
Anyway with a modern SSD I don't think you are right. My disk can do something like 3 GB/s and 100k random accesses per second. At that rate most desktop programs should have the binary and all dependencies loaded to memory in approximately 0.1s. That seemingly doesn't stop a lot of them from taking several seconds to boot. Likewise games, despite usually consuming less than 10 GB of video and main memory combined, can take much longer than 3.3s to load.
- kaba0 5y agoThough that includes possibly decompression, parsing, and more importantly loading data to the GPU and even compiling shaders.
- NohatCoder 5y agoDecompression is fast if you do it right (using anything from the Oodle pack is a good first step towards doing it right). Hopefully a game doesn't need to parse a whole lot of things, however stuff needs to appear in memory, it can be stored that way on disk, possibly compressed with aforementioned fast compression libraries. There is nothing special about loading data onto the graphics card, if you know what you are doing it is just copying data, and no point on the path is slower than disk. I know there are games that somehow rely on thousands of shaders. Like most games you can just not do that, or you can store the compiled shaders so that the compilation only needs to be done on first run.