You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Becker Ewing (Jira)" <ji...@apache.org> on 2023/08/16 17:43:00 UTC

[jira] [Assigned] (HBASE-28025) Enhance ByteBufferUtils.findCommonPrefix to compare 8 bytes each time

     [ https://issues.apache.org/jira/browse/HBASE-28025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Becker Ewing reassigned HBASE-28025:
------------------------------------

    Assignee: Becker Ewing

> 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
>            Assignee: Becker Ewing
>            Priority: Major
>
> 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)