Join GitHub today
Improve performance of StringUtils.capitalize() [SPR-15094] #19661
just noticed a small possible improvement for (un-)capitalizing Strings. Using substring is rather expensive and we could avoid that. Please find my proposal attached.
If no work has to be done I saw possible improvements of factor 20.