Memory-Mapped Assets For More Efficient Loading
What is “memory mapping”? A Problem Arises Let’s use a texture as an example. When you load a texture, the computer does more work than you might think at first: The program has to allocate the memory for the texture, ask the OS for the corresponding file, and then the OS has to find, read and store the file’s data in memory. That phrase is a mouthful. (In reality it’s more complex than this, but I’m trying to not confuse you any further) ...