diff options
| author | bors <bors@rust-lang.org> | 2014-10-20 03:27:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-20 03:27:12 +0000 |
| commit | 045bc283eceb414caeea28797b9b610bd33f33ac (patch) | |
| tree | 797553fefcd75356f7f1a7a6fa610df8db82ef51 /src/libstd/num | |
| parent | aff4f11cddadae56fe26980329b610066eb487b0 (diff) | |
| parent | 3839696529213ceaa12eb0da28c3dad10c8b99e7 (diff) | |
| download | rust-045bc283eceb414caeea28797b9b610bd33f33ac.tar.gz rust-045bc283eceb414caeea28797b9b610bd33f33ac.zip | |
auto merge of #18108 : mahkoh/rust/buffered_reader, r=alexcrichton
This optimizes `read` for the case in which the number of bytes requested is larger than the internal buffer. Note that the first comparison occurs again right afterwards and should thus be free. The second comparison occurs only in the cold branch.
Diffstat (limited to 'src/libstd/num')
0 files changed, 0 insertions, 0 deletions
