Fastest and most efficient way to read from file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Fastest and most efficient way to read from file

I want to make a GameEngine with C++ and OpenGL. until now I have seen different ways of reading from files, and since I'm a bit newbie, I don't know what is the fastest way of reading from files to save (a bit of) performance, There are 2 ways that I know how to do it: https://code.sololearn.com/cr2RsNJTNo9M/#cpp I want to know if you know a better way, or if these 2 are good enough which one is better.

16th Jul 2018, 5:54 AM
Light
Light - avatar
1 Answer