Becker Ewing created HBASE-28025:
------------------------------------

             Summary: Enhance ByteBufferUtils.findCommonPrefix to compare 8 
bytes each time
                 Key: HBASE-28025
                 URL: https://issues.apache.org/jira/browse/HBASE-28025
             Project: HBase
          Issue Type: Improvement
          Components: Performance
    Affects Versions: 2.5.4
            Reporter: Becker Ewing


Currently, the `ByteBufferUtils.findCommonPrefix family of methods compare two 
buffers a single byte at a time. In reviewing the patch for HBASE-28012, 
[~zhangduo] suggested that the ByteBufferUtils.findCommonPrefix methods could 
be enhanced to compare 8 bytes at a time like the 
ByteBufferUtils.compareToUnsafe family of methods already does (which was added 
in HBASE-12345)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to