On Thu, 25 Jul 2024 05:06:17 GMT, Shaojin Wen <d...@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.

This pull request has now been integrated.

Changeset: 5ff7c57f
Author:    Shaojin Wen <shaojin.we...@alibaba-inc.com>
URL:       
https://git.openjdk.org/jdk/commit/5ff7c57f9ff5428ef3d2aedd7e860bb1e8ff29ea
Stats:     33 lines in 3 files changed: 23 ins; 3 del; 7 mod

8337168: Optimize LocalDateTime.toString

Reviewed-by: liach, naoto

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

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

Reply via email to