We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bash-f
1 parent 927eb41 commit 346c7eaCopy full SHA for 346c7ea
bash-f/benches/mod.rs
@@ -1,11 +1,9 @@
1
#![feature(test)]
2
extern crate test;
3
4
-use bash_f::bash_f;
+use bash_f::{bash_f, STATE_WORDS};
5
use test::Bencher;
6
7
-const STATE_WORDS: usize = 24;
8
-
9
#[bench]
10
fn bench_bash_f(b: &mut Bencher) {
11
let mut state = [0u64; STATE_WORDS];
bash-f/src/lib.rs
@@ -8,7 +8,7 @@
#![warn(missing_docs)]
/// Number of 64-bit words in the state
+pub const STATE_WORDS: usize = 24;
12
13
/// Precalculated rotation params
14
const ROTATION_PARAMS: [(u32, u32, u32, u32); 8] = {
0 commit comments