<i18n dev> RFR: 8337279: Optimize format instant [v9]
Shaojin Wen
swen at openjdk.org
Mon Sep 23 05:37:17 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 11 additional commits since the last revision:
- Merge remote-tracking branch 'upstream/master' into optim_instant_fmt_202407
- suggestion from @jensli
- Speed up Instant.toString using JavaTimeAccess
- add JavaTimeAccess SharedSecrets
- Merge remote-tracking branch 'upstream/master' into optim_instant_fmt_202407
- breaking out the printNano methods
- copyright
- Update src/java.base/share/classes/java/time/format/DateTimeFormatterBuilder.java
Co-authored-by: Stephen Colebourne <scolebourne at joda.org>
- 1. fix handle fraction == -1
2. Split two methods to make codeSize less than 325
- add comment
- ... and 1 more: https://git.openjdk.org/jdk/compare/32c9de0b...1c2482e7
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20353/files
- new: https://git.openjdk.org/jdk/pull/20353/files/2342276e..1c2482e7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20353&range=08
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20353&range=07-08
Stats: 179340 lines in 1462 files changed: 162395 ins; 8883 del; 8062 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