You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/08/19 02:49:18 UTC

[jira] [Updated] (HBASE-11774) Avoid allocating unnecessary tag iterators

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

Andrew Purtell updated HBASE-11774:
-----------------------------------

    Attachment: HBASE-11774.patch

Attached patch does as described. 

Ping [~anoop.hbase], [~ram_krish]: In the AC I take the strategy that new cell tags should be *prepended* to the list of existing tags for a cell, and this is IMO a good strategy for VC cell tagging also. Can save a bit of time iterating later because the most interesting tag will be first. Some scope creep on this patch in that regard, please check.

> Avoid allocating unnecessary tag iterators
> ------------------------------------------
>
>                 Key: HBASE-11774
>                 URL: https://issues.apache.org/jira/browse/HBASE-11774
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.99.0, 2.0.0, 0.98.6
>
>         Attachments: HBASE-11774.patch
>
>
> We can avoid an unnecessary object allocation, sometimes in hot code paths, by not creating a tag iterator if the cell's tag area is of length zero, signifying no tags present.



--
This message was sent by Atlassian JIRA
(v6.2#6252)