RFR: 8337168: Optimize LocalDateTime.toString

duke duke at openjdk.org
Thu Jul 25 15:17:32 UTC 2024


On Thu, 25 Jul 2024 05:06:17 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> The current LocalDateTime.toString implementation concatenates the toString results of date and time, which can be passed to StringBuilder to reduce additional object allocation and improve performance.

@wenshao 
Your change (at version c03ed26ffdf2cebcc9074c2aeae27fbb1f49c025) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/20321#issuecomment-2250640401


More information about the core-libs-dev mailing list