Description
Guava uses some clever tricks with sun.misc.Unsafe to compare byte arrays about 100% faster than the naive byte-by-byte implementation: http://guava-libraries.googlecode.com/svn/trunk/guava/src/com/google/common/primitives/UnsignedBytes.java
We should borrow this [Apache 2 licensed] code.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-7761 Improve performance of raw comparisons
- Closed