Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
Description
The attached patch speeds up swapCase() and *capitalize() by ~30% in my tests, and I don't think they'll slow down any cases.
It's not that these methods are that slow to begin with, but I happened to be playing around with caliper (http://code.google.com/p/caliper/) and commons-lang and thought I'd just submit the patch.