readahead-iterator 0.1.3

Readahead from an iterator on a separate thread, returning items in order and synchronously.
Documentation
1
2
3
4
5
6
7
8
9
use readahead_iterator::IntoReadahead;

fn main() {
    (0..)
        .into_iter()
        .readahead(3)
        .take(100)
        .for_each(|x| println!("{}", x));
}