runzhiwang opened a new pull request #1066:
URL: https://github.com/apache/hadoop-ozone/pull/1066


   ## What changes were proposed in this pull request?
   
   1. getPipelines is in the critical path of allocateBlock, and 
discardPipeline is the hot spot in getPipelines.
   2. Change `List` to `Set` to make `add`  and `contain` faster.
   3. Remove stream().filter().collect()
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3770?filter=-2
   
   ## How was this patch tested?
   
   Existed tests.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to