You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/05 04:23:02 UTC

[jira] [Resolved] (HBASE-11147) Avoid creating List of KeyValue in FilterBase#filterRowCells(List)

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

Ted Yu resolved HBASE-11147.
----------------------------

    Resolution: Later

> Avoid creating List of KeyValue in FilterBase#filterRowCells(List<Cell>)
> ------------------------------------------------------------------------
>
>                 Key: HBASE-11147
>                 URL: https://issues.apache.org/jira/browse/HBASE-11147
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Gustavo Anatoly
>            Priority: Trivial
>
> Currently a List of KeyValue's is always created:
> {code}
>     List<KeyValue> kvs = new ArrayList<KeyValue>(ignored.size());
> {code}
> When passed ignored List is of KeyValue (which is the only implementation of Cell at the moment), the above step should be avoided.
> This would reduce creation of short-lived objects.



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