Rust implementation of the CVM algorithm for counting distinct elements in a stream
0

Configure Feed

Select the types of activity you want to include in your feed.

We DO want a BufReader

-1
-1
src/main.rs
··· 11 11 where 12 12 P: AsRef<Path>, 13 13 { 14 - // no need to use a BufReader since we want the entire file 15 14 let f = File::open(filename).expect("Couldn't read from file"); 16 15 BufReader::new(f) 17 16 }