16 ms·
Try lower-casing it. EDIT: This looks like a case of a common programming antipattern: you don't care about the casing for comparison purposes, so instead of i
by copsarebastards 12y ago
Try lower-casing it.
EDIT: This looks like a case of a common programming antipattern: you don't care about the casing for comparison purposes, so instead of implementing a case-insensitive compare, you downcase the strings and call it a day. But that's inherently a loss of data, and not having that data will eventually come back to bite you.