RFR: 8337168: Optimize LocalDateTime.toString [v4]

duke duke at openjdk.org
Fri Jul 26 11:29:32 UTC 2024


On Thu, 25 Jul 2024 23:05:46 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.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/java.base/share/classes/java/time/LocalTime.java
>   
>   Co-authored-by: Chen Liang <liach at openjdk.org>

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

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

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


More information about the core-libs-dev mailing list