Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
it seems like if there's a real large string, it's gonna have to fully convert it to upper case and compare. i guess a for loop with an early return false (in case a char is lowercase) would be the best practice in terms of performance
Interesting, converting the string return value of
.ToUpper()
to a MyString type instead of converting the MyStrings
to a built-in string type. I'm curious if there's any particular advantage there, or if it just keeps things a little simpler on one side of the equation?but not for hugh strings efficiently
I thik its innefficient on very hugh strings. Better check one rune by rune to get Unicode-16 full
oh. how simple the solution can be... I worked with arrays and runes. hahah