You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Becker Ewing (Jira)" <ji...@apache.org> on 2023/08/14 22:02:00 UTC
[jira] [Created] (HBASE-28025) Enhance ByteBufferUtils.findCommonPrefix to compare 8 bytes each time
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)