remove useless
This commit is contained in:
parent
808012c03a
commit
8ab1884dae
1 changed files with 0 additions and 10 deletions
|
|
@ -5,16 +5,6 @@ extern crate test;
|
|||
use test::{black_box, Bencher};
|
||||
use chacha::do_chacha;
|
||||
|
||||
fn few_u32_to_many_u8(data: &[u32; 16]) -> [u8; 64] {
|
||||
let mut out = [0u8; 64];
|
||||
|
||||
for (i, c) in data.iter().enumerate() {
|
||||
out[i * 4..][..4].copy_from_slice(&u32::to_ne_bytes(*c));
|
||||
}
|
||||
|
||||
out
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn bench_chacha_operation(b: &mut Bencher) {
|
||||
// somewhat random data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue