mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-12 04:08:24 -04:00
While convenient as a std::array, it's also quite a large set of data as well (32KB). It being an array also means data cannot be std::moved. Any situation where the code is being set or relocated means that a full copy of that 32KB data must be done. If we use a std::vector we do need to allocate on the heap, however, it does allow us to std::move the data we have within the std::vector into another std::vector instance, eliminating the need to always copy the program data (as std::move in this case would just transfer the pointers and bare necessities over to the new vector instance). |
||
|---|---|---|
| .. | ||
| debug_utils | ||
| engines | ||
| renderer_opengl | ||
| textures | ||
| CMakeLists.txt | ||
| command_processor.cpp | ||
| command_processor.h | ||
| gpu.cpp | ||
| gpu.h | ||
| macro_interpreter.cpp | ||
| macro_interpreter.h | ||
| memory_manager.cpp | ||
| memory_manager.h | ||
| rasterizer_interface.h | ||
| renderer_base.cpp | ||
| renderer_base.h | ||
| utils.h | ||
| video_core.cpp | ||
| video_core.h | ||