scim
scim copied to clipboard
Question about StringUtils.toLowerCase()
I was going through the code in https://github.com/pingidentity/scim/blob/bf0f52fa898614ac23e61706cf44d7752cf4619e/scim-sdk/src/main/java/com/unboundid/scim/sdk/StaticUtils.java#L58
I would like to understand the reason for choosing to have the switch statement and not going with s.toLowerCase() on the string itself. Is the reason for doing this tedious task performance for the common case (of only A-Z) strings?