RFR: 8337832: Optimize datetime toString

Stephen Colebourne scolebourne at openjdk.org
Sun Aug 11 10:28:37 UTC 2024


On Sat, 27 Jul 2024 13:45:11 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> Similar to PR #20321, this improves performance by providing a method that passes in a StringBuilder to avoid unnecessary object allocation.

Change looks fine, but is it actually faster?

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

Marked as reviewed by scolebourne (Author).

PR Review: https://git.openjdk.org/jdk/pull/20368#pullrequestreview-2231785832


More information about the core-libs-dev mailing list