Details
-
New Feature
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.7.1
-
None
-
None
Description
Google's Guava libraries include an optimized implementation of lexicographic byte comparison based on sun.misc.Unsafe that's ~4x faster than the normal Java implementation.
http://hiroshiyamauchi.blogspot.com/2010/08/fast-unsigned-byte-lexicographical.html
http://www.google.com/codesearch#UKMs0lhE9bg/trunk/src/com/google/common/primitives/UnsignedBytes.java&l=276
We might similarly optimize BinaryData#compareBytes().
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-7761 Improve performance of raw comparisons
- Closed