-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 1.4.0
-
Component/s: core-libs
-
beta
-
generic
-
generic
In the various java.io.Bits.get* utility methods, the top byte is
unnecessarily bitwise and-ed with 0xFF before shifting. Removing the
masking operation results in a slight (1-2%) performance gain for
reads of primitive values.
unnecessarily bitwise and-ed with 0xFF before shifting. Removing the
masking operation results in a slight (1-2%) performance gain for
reads of primitive values.