[go: up one dir, main page]

criterion-stats 0.1.1

Criterion's statistics library
Documentation
1
2
3
4
5
6
7
use rand::Rand;

pub fn vec<T>() -> Vec<T> where T: Rand {
    const SIZE: usize = 1_000_000;

    ::test::vec(SIZE, 0).unwrap()
}