[
https://issues.apache.org/jira/browse/HBASE-10719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931412#comment-13931412
]
Enis Soztutar commented on HBASE-10719:
---------------------------------------
Had a chat with [~mcorgan] about this when Cell was first introduced. He was
saying that ByteBuffer is an abstract class and have a lot more overhead than
byte[]. Our own ByteRange does not have this.
> Cell interface may need a ByteBuffer rather than a byte[]
> ---------------------------------------------------------
>
> Key: HBASE-10719
> URL: https://issues.apache.org/jira/browse/HBASE-10719
> Project: HBase
> Issue Type: Sub-task
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
>
> See discussion in HBASE-10531.
> The byte[] backing a cell may be off heap also. In such a case having a
> byte[] may require a copy offheap to on heap. So better to have ByteBuffer
> backing a Cell.
--
This message was sent by Atlassian JIRA
(v6.2#6252)