1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-20 05:53:24 +01:00
Atmosphere/stratosphere/ams_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
..
source setsys_settings_items: Less resource churn with combined key/value construction 2019-06-03 21:37:53 -04:00
ams_mitm.json stratosphere: custom exception handlers (reboot to fusee) 2019-04-12 15:28:46 -07:00
Makefile ams_mitm: add ns:web mitm for HBL web support 2019-03-26 11:35:50 -07:00