mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 09:15:51 +00:00
We already construct a std::string instance, so we can just append to it instead of creating another temporary with std::string's operator+. We also change this to append using the string view getter functions, as this allows the appending process to do less work. When a pointer is passed in, a strlen call would need to be performed in order to determine the total characters to append. However, we already know the size (via the string view).
Description
Data interchange, editor suite, and runtime re-implementations for games by Retro Studios
Languages
C++
94.2%
C
4.5%
CMake
1.2%