legedexinshi opened a new pull request #7199: Improve building 
SegmentsCostCache for CachingCostBalancerStrategy
URL: https://github.com/apache/incubator-druid/pull/7199
 
 
   In SegmentsCostCache.Bucket.Build, updating leftSum/rightSum for every 
addSegment/removeSegment method is expensive and needless. Moving the 
calculation of  leftSum/rightSum to Build.build() helps accelerate building 
ClusterCostCache for CachingCostBalancerStrategy.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to