Closed GoogleCodeExporter closed 9 years ago
By the way, the shuffling code currently adds a field with a random number to
each
project, and sorts the list using that field as key. It would be more efficient
(O(n), vs O(n*log n) or O(n²) for the sort algorithm), and also be clearer, if
it
used std::random_shuffle.
Original comment by nicolas....@gmail.com
on 16 Sep 2008 at 9:27
[deleted comment]
I removed the list-shuffling code from the manager, and noticed the list is
also
shuffled on the *server* when it's downloaded! (so the client-side shuffle was
useless).
Original comment by nicolas....@gmail.com
on 17 Sep 2008 at 2:21
Fixed in r327 and r328.
Original comment by nicolas....@gmail.com
on 17 Sep 2008 at 3:29
Original comment by nicolas....@gmail.com
on 17 Sep 2008 at 3:29
Works fine. Code looks good. I like fixes that involve removing convoluted and
pointless code....
Original comment by didacty...@gmail.com
on 22 Sep 2008 at 3:16
Original comment by didacty...@gmail.com
on 27 Jun 2009 at 1:32
Original issue reported on code.google.com by
nicolas....@gmail.com
on 16 Sep 2008 at 9:21