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

Jan Hentschel commented on HBASE-10699:
---------------------------------------

To make this ticket easier to integrate and review I started to break it into 
smaller sub-tasks.

> Optimize some code
> ------------------
>
>                 Key: HBASE-10699
>                 URL: https://issues.apache.org/jira/browse/HBASE-10699
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: @deprecated Yi Deng
>
> 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)

Reply via email to