RFR: 8287292: Improve TransformKey to pack more kinds of transforms efficiently
Jorn Vernee
jvernee at openjdk.java.net
Wed May 25 13:43:56 UTC 2022
On Wed, 25 May 2022 13:37:14 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> Maybe an `assert b == b23456[i]` would be nice here.
>
> All usage implies the int is an argument position, which by spec is constrained to be in the 0-255 range. But surely checking or asserting shouldn't hurt.
Yes, please. IMHO it makes it clear that that is the assumption of this code.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8881
More information about the core-libs-dev
mailing list