1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Compiler performance enhancements

This commit is contained in:
Brian Fiete 2022-05-06 11:28:38 -07:00
parent 3736281ff7
commit d623c21495
22 changed files with 679 additions and 291 deletions

View file

@ -66,6 +66,12 @@ String Beefy::ToUpper(const StringImpl& theString)
return aString;
}
void Beefy::MakeUpper(StringImpl& theString)
{
for (int i = 0; i < (int)theString.length(); ++i)
theString[i] = toupper(theString[i]);
}
UTF16String Beefy::ToUpper(const UTF16String& theString)
{
UTF16String aString = theString;
@ -1282,3 +1288,6 @@ void Beefy::BFFatalError(const char* message, const char* file, int line)
BFFatalError(String(message), String(file), line);
}
void MakeUpper(const StringImpl& theString)
{
}