hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11774) Avoid allocating unnecessary tag iterators
Date Tue, 19 Aug 2014 15:03:19 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102282#comment-14102282
] 

Anoop Sam John commented on HBASE-11774:
----------------------------------------

FYI..  I will commit HBASE-11553 in some time. I am incorporating the changes from this patch
to visibility classes. 
bq.CellUtil.tagsIterator() used without the tags length check in VisibilityUtils also. Might
be good to fix there also?
This part also I am fixing.
You can just avoid the visibility classes from the patch.

> 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)

Mime
View raw message