| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Replace weighted-choice code with rand::seq::SliceRandom. | Nick Mathewson | 2021-09-08 | 1 | -0/+59 |
| Doing this makes the code faster, lets us throw away some code, and makes it easier to add a "choose-N-disjoint relays" implementation. See large comment about plusses and minuses of new code. (Note that the old implementation wasn't constant-time either.) | |||||
