hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10699) Optimize some code; set capacity on arraylist when possible; use isEmpty; reduce allocations
Date Sat, 21 Jan 2017 06:59:26 GMT

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

stack updated HBASE-10699:
--------------------------
    Summary: Optimize some code; set capacity on arraylist when possible; use isEmpty; reduce
allocations  (was: Optimize some code)

> Optimize some code; set capacity on arraylist when possible; use isEmpty; reduce allocations
> --------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10699
>                 URL: https://issues.apache.org/jira/browse/HBASE-10699
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: @deprecated Yi Deng
>            Assignee: Jan Hentschel
>         Attachments: HBASE-10699.master.001.patch
>
>
> 1. Set capacity on ArrayList when possible
> 2. Use isEmpty instead of size() == 0 when possible
> 3. Reduce some unnecessary allocation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message