RFR: 8357685: Changing the type of Integer::digits from char[] to byte[] [v2]

Shaojin Wen swen at openjdk.org
Sat May 24 07:19:24 UTC 2025


> 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.

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  stable

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25426/files
  - new: https://git.openjdk.org/jdk/pull/25426/files/c89694cb..3eb72204

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25426&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25426&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25426.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25426/head:pull/25426

PR: https://git.openjdk.org/jdk/pull/25426


More information about the core-libs-dev mailing list