Files
tor/changes
Nick Mathewson 640a51684c Remove remaining timing-dependency in choosing nodes by bandwidth
The old approach, because of its "tmp >= rand_bw &&
!i_has_been_chosen" check, would run through the second part of the
loop slightly slower than the first part.  Now, we remove
i_has_been_chosen, and instead set rand_bw = UINT64_MAX, so that
every instance of the loop will do exactly the same amount of work
regardless of the initial value of rand_bw.

Fix for bug 6538.
2012-08-09 12:40:03 -04:00
..
2012-07-31 11:49:20 -04:00
2012-07-06 08:02:14 -04:00
2012-07-20 09:50:19 -04:00
2012-07-31 10:16:03 -04:00
2012-08-03 11:16:13 -04:00