hbase-issues mailing list archives

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

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

Appy commented on HBASE-10699:
------------------------------

Hi [~Jan Hentschel], welcome to the hbase community. It's great to see new contributions coming
in.
Looks like you have 12 patches pending for review, and most are < 10 lines. It'd be much
easier to review and commit to repo if it was all in one single patch. Can you please do so?
Thanks.



> 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