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:
bors 2014-06-20 07:31:28 +00:00
commit 30476141cf

View File

@ -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