1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 18:56:03 +00:00
Atmosphere/stratosphere/ams_mitm/source/set_mitm
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
..
set_mitm_service.cpp set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
set_mitm_service.hpp set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
set_shim.c set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
set_shim.h set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
setmitm_main.cpp set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
setmitm_main.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_firmware_version.cpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_firmware_version.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_mitm_service.cpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_mitm_service.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_settings_items.cpp setsys_settings_items: Less resource churn with combined key/value construction 2019-06-03 21:37:53 -04:00
setsys_settings_items.hpp atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
setsys_shim.c set.mitm: language emulation (closes #489) 2019-05-22 12:13:10 -07:00
setsys_shim.h Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00