about summary refs log tree commit diff
path: root/src/test/debuginfo/function-arg-initialization.rs
diff options
context:
space:
mode:
authorJulian Orth <ju.orth@gmail.com>2014-10-17 02:48:29 +0200
committerJulian Orth <ju.orth@gmail.com>2014-10-20 01:47:33 +0200
commit3839696529213ceaa12eb0da28c3dad10c8b99e7 (patch)
treefc6afd66c93af778d355cd1a2e6ffdae6aee5c53 /src/test/debuginfo/function-arg-initialization.rs
parent1868a262f36a57fa6bac96c2f173129c57d4e62f (diff)
downloadrust-3839696529213ceaa12eb0da28c3dad10c8b99e7.tar.gz
rust-3839696529213ceaa12eb0da28c3dad10c8b99e7.zip
Optimize BufferedReader::read for large buffers.
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/test/debuginfo/function-arg-initialization.rs')
0 files changed, 0 insertions, 0 deletions