Function casper_node::utils::ds::vec_sample[][src]

pub fn vec_sample<T>(vec: &Vec<T>) -> usize where
    T: DataSize
Expand description

Extrapolate memory usage of a Vec by from a random subset of SAMPLE_SIZE items.