wujimin commented on a change in pull request #1865:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1865#discussion_r449153654



##########
File path: 
providers/provider-pojo/src/main/java/org/apache/servicecomb/provider/pojo/definition/PojoConsumerMeta.java
##########
@@ -33,7 +34,7 @@
 
   private SchemaMeta schemaMeta;
 
-  private Map<String, PojoConsumerOperationMeta> operationMetas = new 
HashMap<>();
+  private Map<Method, PojoConsumerOperationMeta> operationMetas = new 
HashMap<>();

Review comment:
       Method to be key of HashMap is too expensive  
   should change HashMap to IdentityHashMap




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to