hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Deng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10699) Optimize some code
Date Fri, 07 Mar 2014 14:06:44 GMT
Yi Deng created HBASE-10699:
-------------------------------

             Summary: Optimize some code
                 Key: HBASE-10699
                 URL: https://issues.apache.org/jira/browse/HBASE-10699
             Project: HBase
          Issue Type: Improvement
            Reporter: 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.2#6252)

Mime
View raw message