mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 22:20:04 +00:00
3e7d37301a
Previously, the code was accumulating data into a std::vector and then tossing all of it away if a setting was disabled. Instead, we can just check if it's disabled and do no work at all if possible. If it's enabled, then we can append to the vector and allocate. Unlikely to impact usage much, but it is slightly less sloppy with resources. |
||
---|---|---|
.. | ||
aoc_u.cpp | ||
aoc_u.h |