[ https://issues.apache.org/jira/browse/HBASE-28025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Somogyi reopened HBASE-28025: ----------------------------------- Reopening to apply addendum for branch-2.4. > 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 > Fix For: 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1 > > Attachments: HBASE-28025_jmh_benchmarks_src.zip, benchmark_results.txt > > > 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)