Package io.netty.util.internal
Class StringUtil.Hex2B
- java.lang.Object
-
- io.netty.util.internal.StringUtil.Hex2B
-
- Enclosing class:
- StringUtil
private static final class StringUtil.Hex2B extends java.lang.ObjectLazily initialized hexadecimal digit to value table, kept separate fromStringUtil.Byte2Hexso that decoding (used for instance to parse the machine id) does not pay for the byte to string tables.The table stores
value + 1: a zero entry means "not a hex digit", so the zero-filled array needs noArrays.fillpass over its 64 KiB, which is costly when run by the interpreter at startup.