elo: add comment about rayon and live leaderboard
This commit is contained in:
parent
f73e781063
commit
7c74f6b5da
@ -145,6 +145,9 @@ impl PlayerArena {
|
||||
.expect("invalid ProgressStyle"),
|
||||
)
|
||||
.map(|((i, j), (p1, p2))| (i, j, Self::play_two_inner(p1, p2)))
|
||||
// TODO! is there some way in rayon to allow `self.process_outcome` to be run on the main thread
|
||||
// as soon as Self::play_two_inner completes? This would allow maybe a live leaderboard to be displayed
|
||||
// while players are playing
|
||||
.collect::<Vec<_>>()
|
||||
// collect and process the outcomes of all the games
|
||||
.into_iter()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user