You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/02/03 00:29:14 UTC

[GitHub] [servicecomb-java-chassis] wujimin commented on issue #2225: 为什么不需要关注性能,是否可以改成单例实现?

wujimin commented on issue #2225:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2225#issuecomment-772111782


   1. 这么复杂的定制resolve功能,只在启动流程中少量应用于operation的多级配置项  
   2. 构造实例并不是这里的主要消耗,resolve才是  
     
   所以是否单例并不关键  
   因为也不是性能关键路径,所以也没对resolve做性能优化设计  


----------------------------------------------------------------
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:
users@infra.apache.org