Skip to content

Commit

Permalink
auto merge of rust-lang#15044 : alexcrichton/rust/speed-up-select, r=…
Browse files Browse the repository at this point in the history
…kballard

This was erroneously disabled as part of 065e121 and it hasn't been turned on
since. This was a 3x perf improvement in a test of mine.
  • Loading branch information
bors committed Jun 20, 2014
2 parents 75eb50d + 4170626 commit 3047614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/comm/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl Select {
/// event could either be that data is available or the corresponding
/// channel has been closed.
pub fn wait(&self) -> uint {
self.wait2(false)
self.wait2(true)
}

/// Helper method for skipping the preflight checks during testing
Expand Down

0 comments on commit 3047614

Please sign in to comment.