about summary refs log tree commit diff
path: root/src/libstd/num
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-20 03:27:12 +0000
committerbors <bors@rust-lang.org>2014-10-20 03:27:12 +0000
commit045bc283eceb414caeea28797b9b610bd33f33ac (patch)
tree797553fefcd75356f7f1a7a6fa610df8db82ef51 /src/libstd/num
parentaff4f11cddadae56fe26980329b610066eb487b0 (diff)
parent3839696529213ceaa12eb0da28c3dad10c8b99e7 (diff)
downloadrust-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