mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 22:37:33 +01:00
1fd979f50a
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). |
||
---|---|---|
.. | ||
audio_core | ||
common | ||
core | ||
input_common | ||
tests | ||
video_core | ||
yuzu | ||
yuzu_cmd | ||
.clang-format | ||
CMakeLists.txt |