<i18n dev> RFR: 8337279: Optimize format instant [v3]

Shaojin Wen duke at openjdk.org
Sun Jul 28 15:52:03 UTC 2024


> By removing the redundant code logic in DateTimeFormatterBuilder$InstantPrinterParser#formatTo, the codeSize can be reduced and the performance can be improved.

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  1. fix handle fraction == -1
  2. Split two methods to make codeSize less than 325

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20353/files
  - new: https://git.openjdk.org/jdk/pull/20353/files/64403d5f..75798425

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20353&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20353&range=01-02

  Stats: 200 lines in 2 files changed: 194 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/20353.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20353/head:pull/20353

PR: https://git.openjdk.org/jdk/pull/20353


More information about the i18n-dev mailing list