* perf(models): read the .e3d file with one unbuffered fread
The model loader read the whole .e3d file with std::ifstream::read.
With MSVC that reads a file not in the system cache from a hard disk
at about 24 MB/s, against about 38 MB/s for one unbuffered fread, and
a cached file at less than half the speed.
The new core helper read_whole_file() opens the file without a stream
buffer and reads it with one fread. The loader parses the same bytes
from memory as before; a missing, empty or short file gives the same
result as with the file stream.
* perf(models): the comment of read_whole_file quotes the measured read speeds