Far classes
Andrew Haley
aph-open at littlepinkcloud.com
Wed Jun 26 09:54:06 UTC 2024
On 6/26/24 09:54, John Rose wrote:
> You could also use a joint encoding [1] on more than one bit,
> so as have encode more near classes in the same number of
> bits.
[1] https://cr.openjdk.org/~jrose/jvm/joint-bit-encodings.html
Joint Bit Encodings is a kind of Arithmetic Code, isn't it? We don't
have to think in terms of bits in the encoded class at all, just to
say that if an encoded value is less than N, it's an offset to the
real Klass*. Otherwise, subtract N from the encoded value and use
that.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the lilliput-dev
mailing list