[
https://issues.apache.org/jira/browse/HBASE-12297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187446#comment-14187446
]
stack commented on HBASE-12297:
-------------------------------
I suppose the Interface forces us create an array here?
+ checksumObject.update(ByteBufferUtils.toBytes(hdr, 0, hdrSize), 0,
hdrSize);
Its going to be slow indexing through each byte of a DBB.
That is good you do the hasArray check first.
> Support DBB usage in Bloom and HFileIndex area
> ----------------------------------------------
>
> Key: HBASE-12297
> URL: https://issues.apache.org/jira/browse/HBASE-12297
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver, Scanners
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Attachments: HBASE-12297.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)