Integrated: 8357685: Change the type of Integer::digits from char[] to byte[]
Shaojin Wen
swen at openjdk.org
Sun May 25 17:42:55 UTC 2025
On Sat, 24 May 2025 02:30:16 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Integer::digits type can use byte[] instead of char[], which can reduce the conversion from char to byte in the process of Integer.toString. Using byte[] can also save memory.
This pull request has now been integrated.
Changeset: 4a4209ff
Author: Shaojin Wen <swen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4a4209ffef8f8d65054cbf46ebf8e169d100c0d8
Stats: 8 lines in 2 files changed: 1 ins; 0 del; 7 mod
8357685: Change the type of Integer::digits from char[] to byte[]
Reviewed-by: rgiulietti, liach
-------------
PR: https://git.openjdk.org/jdk/pull/25426
More information about the core-libs-dev
mailing list