dongjiang1989 opened a new pull request, #2599:
URL: https://github.com/apache/dubbo-go/pull/2599

   ## Describe the solution you'd like
   
   support weighted random algorithm with preprocessing time complexity O(n) 
and selection time complexity O(1), called the [alias 
method](https://en.wikipedia.org/wiki/Alias_method).
   
   ref: https://github.com/cloudwego/kitex/issues/1184
   
   ## Additional context
   Alias Method:
   - https://en.wikipedia.org/wiki/Alias_method
   - http://www.keithschwarz.com/darts-dice-coins/


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

To unsubscribe, e-mail: [email protected]

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


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

Reply via email to