Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
I noticed that using Long#compareUnsigned on longs read via VarHandles is significantly faster than calling compareUnsigned directly. There are cases when this could be leveraged easily such as BKDWriter, which often keeps comparing 4-bytes or 8-bytes across byte[] arrays.
Attachments
Issue Links
- links to