about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-04 14:20:46 -0700
committerbors <bors@rust-lang.org>2013-09-04 14:20:46 -0700
commit6c13b0f4f6b6c51c0d83bad3c48d7249a1d15308 (patch)
tree714ab799479708bea445685a7f972ad5726151f8 /src/rustllvm/RustWrapper.cpp
parent60fba4d7d677ec098e6a43014132fe99f7547363 (diff)
parent913d1b48ad4e2dd909009aab93837cd596a235b2 (diff)
downloadrust-6c13b0f4f6b6c51c0d83bad3c48d7249a1d15308.tar.gz
rust-6c13b0f4f6b6c51c0d83bad3c48d7249a1d15308.zip
auto merge of #8935 : blake2-ppc/rust/reader-bytes, r=brson
An iterator that simply calls `.read_bytes()` each iteration.

I think choosing to own the Reader value and implementing Decorator to
allow extracting it is the most generically useful. The Reader type
variable can of course be some kind of reference type that implements
Reader.

In the generic form the `Bytes` iterator is well behaved itself and does not read ahead.
It performs abysmally on top of a FileStream, and much better if a buffering reader is inserted inbetween.

Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions