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

Ankit Singhal commented on HBASE-22082:
---------------------------------------

Thanks [~q977734161] for the patch, Is the patch on the basis of good practice 
or do you have some stats to share representing the difference in compilation 
cost before and after your patch?

> Should not use an instance to access static members, which  will increases 
> compilation costs.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-22082
>                 URL: https://issues.apache.org/jira/browse/HBASE-22082
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 1.4.5, 2.1.1, 2.0.4
>            Reporter: lixiaobao
>            Assignee: lixiaobao
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HBASE-22082.patch
>
>
> A little modification:
> In class MutationBatchOperation, the method prepareMiniBatchOperations has a 
> small change,we should not use an instance to access static members, which 
> will increases compilation costs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to