RFR (S) 8136500: Integer/Long getChars and stringSize should be more idiomatic

Ulf Ulf.Zibis at CoSoCo.de
Tue Nov 24 20:08:49 UTC 2015


Hi,

Am 24.11.2015 um 18:27 schrieb Peter Levart:
> On 11/24/2015 06:22 PM, Peter Levart wrote:
>>
>> .. for addressing DigitOnes and DigitTens it is ok and might be faster, as you say.
>>
>> If DigitOnes and DigitTens are extended for 28 ignored zero slots, it may save the upper bound 
>> check too.
Another interesting tweak, thanks for the idea.

> I think that the index of code idiomatism has reached the local maximum and is now falling ... ;-) 
Good joke, hopefully some day we have unsigned integers in Java, so such twiddling has an end.

-Ulf





More information about the core-libs-dev mailing list