upd bench
This commit is contained in:
parent
103b677d21
commit
3a26a4aa7f
@ -79,9 +79,8 @@ fn db_read(c: &mut Criterion) {
|
||||
let reader: Reader<TestData> = Reader::new(&tmpfile, 2048).expect("new reader");
|
||||
reader
|
||||
},
|
||||
|mut reader| {
|
||||
let mut reader_iter = reader.iter();
|
||||
while let Some(item) = reader_iter.next() {
|
||||
|reader| {
|
||||
for item in reader {
|
||||
drop(item);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user