1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-18 18:06:40 +00:00
Atmosphere/stratosphere/ams_mitm/source
Lioncash dd10547ac2 setsys_settings_items: Less resource churn with combined key/value construction
The previous string construction discards two temporary std::string
instances (operator+ returns by value, not by reference), and creates a
std::string that it doesn't need to (the one around key). Instead we can
just append to the end of the initial std::string itself, saving on two
unnecessary created strings.

append() has a const char* overload as well (as does operator+), so we
can just append the key string as is without creating an entire new
string.
2019-06-03 21:37:53 -04:00
..
bpc_mitm Update for latest libnx 2019-06-03 12:19:05 -07:00
fs_mitm Update for latest libnx 2019-06-03 12:19:05 -07:00
ns_mitm stratosphere: only hold sm sessions open when needed 2019-04-22 12:59:49 -07:00
set_mitm setsys_settings_items: Less resource churn with combined key/value construction 2019-06-03 21:37:53 -04:00
amsmitm_main.cpp set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
amsmitm_modules.cpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
amsmitm_modules.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
debug.cpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
debug.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
ini.c Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
ini.h Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
utils.cpp Update for latest libnx 2019-06-03 12:19:05 -07:00
utils.hpp Update for latest libnx 2019-06-03 12:19:05 -07:00