mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
auto merge of #15044 : alexcrichton/rust/speed-up-select, r=kballard
This was erroneously disabled as part of 065e121f
and it hasn't been turned on
since. This was a 3x perf improvement in a test of mine.
This commit is contained in:
commit
30476141cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user