mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-07 17:56:50 +02:00

texture serialization and deserialization used to involve many memory allocations and deallocations, along with many copies to and from those allocations. avoid those by reserving a memory region inside the output and writing there directly, skipping the allocation and copy to an intermediate buffer entirely.