hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hentschel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10699) Optimize some code
Date Wed, 18 Jan 2017 09:14:26 GMT

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

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

[~appy] Yes, I'm already working on it. I will close the other tickets as soon as the patch
is available.

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