RFR: 8366224: Introduce DecimalDigits.appendPair for efficient two-digit formatting and refactor DateTimeHelper [v5]
Shaojin Wen
swen at openjdk.org
Thu Sep 18 01:33:39 UTC 2025
On Mon, 15 Sep 2025 13:53:23 GMT, Weijun Wang <weijun at openjdk.org> wrote:
> I'd rather see a real public API even if it looks like `StringBuilder::appendInteger(boolean alwaysSign, boolean packWithZero, int minWidth, int number)`.
Methods like appendPair are provided for better performance, and you suggest that it is not easy to achieve the same performance with such an API.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26911#issuecomment-3305071018
More information about the security-dev
mailing list