This commit is contained in:
Spartan322
2025-06-20 02:38:24 -04:00
699 changed files with 21288 additions and 9565 deletions

View File

@@ -60,7 +60,7 @@ bool is_operator_char(unsigned char c) {
String remove_spaces(String &p_str) {
String res;
// Result is guaranteed to not be longer than the input.
res.resize(p_str.size());
res.resize_uninitialized(p_str.size());
int wp = 0;
char32_t last = 0;
bool has_removed = false;
@@ -84,7 +84,7 @@ String remove_spaces(String &p_str) {
last = c;
}
}
res.resize(wp);
res.resize_uninitialized(wp);
return res;
}