On Wed, 13 Sep 2023 21:22:43 GMT, 温绍锦 <[email protected]> wrote:
> Based on the use cases cited, if your library needs specific performance
> improvements for specific formats, they should be done in that library.
Not only JSON libraries, toString optimization of Date/Instant/LocalDateTime
and other classes will benefit in many places, such as logging in business
systems, etc.
Instant bizTime = ...;
LOG.log(Level.INFO, "bizDate {0}", bizTime);
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15658#issuecomment-1718401009