Timeline for Japanese reading of an integer
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 29, 2019 at 10:44 | comment | added | Vittorio Romeo |
Still, I like using the most minimal tool for the job whenever possible. Even if the constants are going to fit in SSO, it's good practice to use std::string_view or const char* . The compiler will also very likely be able to optimize better.
|
|
Jul 29, 2019 at 10:42 | comment | added | L. F. |
Fair point. string is probably not dynamic in this case due to SSO, but vector is quite wasteful.
|
|
Jul 29, 2019 at 10:40 | history | answered | Vittorio Romeo | CC BY-SA 4.0 |