On Thu, 25 Jul 2024 14:29:05 GMT, Shaojin Wen <d...@openjdk.org> wrote:
>> Integer.stringSize and Long.stringSize are used not only in java.lang, but >> also in other places. We put stringSize in DecimalDigits to reduce duplicate >> code and the use of JLA. > > Shaojin Wen has updated the pull request incrementally with one additional > commit since the last revision: > > remove unused Integer.stringSize & Long.stringSize What is the performance difference between the long and int versions? If it is negligible, keep only the long version. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20322#issuecomment-2250535851