Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-716

swapCase and *capitalize speedups

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • lang.*, lang.text.*

    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.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            scop Ville Skyttä
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: