removes redundant args from Shredder::try_recovery (#21226)
Shredder::try_recovery is already taking a Vec<Shred> as an argument. All the other arguments are embedded in the shreds, and are so redundant.
This commit is contained in:
@ -148,14 +148,7 @@ fn bench_shredder_decoding(bencher: &mut Bencher) {
|
||||
true, // is_last_in_slot
|
||||
);
|
||||
bencher.iter(|| {
|
||||
Shredder::try_recovery(
|
||||
coding_shreds[..].to_vec(),
|
||||
symbol_count,
|
||||
symbol_count,
|
||||
0, // first index
|
||||
1, // slot
|
||||
)
|
||||
.unwrap();
|
||||
Shredder::try_recovery(coding_shreds[..].to_vec()).unwrap();
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user