https://twitter.com/kotlin/status/1278712617792679936
Comparing two strings irrespective of their capitalization? Don’t create new strings with toLower() to compare them. Instead, use equals(), which has an option to ignore case when comparing two strings. This way you won’t have to allocate any extra strings to do the comparison. https://t.co/QketYGVz5a
Twitter