Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364781

Re-examine DigitList digits resizing during parsing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • core-libs
    • b11

      DecimalFormat while parsing, utilizes DigitList which stores discovered digits into the `digits` array. Currently the resizing approach is to add a constant 100. Switching to a resizing approach of multiplying by a constant value (2) rather than linear adding helps with performance of larger values.

            jlu Justin Lu
            jlu Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: