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

Performance improvements for NumberUtils.isParsable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: lang.math.*
    • Labels:
      None

      Description

      NumberUtils.isParsable contains String comparisons + some String replacing, which could be improved in terms of performance.

        Attachments

        1. benchmark-lang1151.zip
          8 kB
          Juan Pablo Santos Rodríguez

          Activity

            People

            • Assignee:
              pascalschumacher Pascal Schumacher
              Reporter:
              juanpablo Juan Pablo Santos Rodríguez
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: