fn find_median_jiffies_used(start: &[Calculations], end: &[Calculations]) -> Jiffies {
    let mut jiffies: Vec<_> = start
        .iter()
        .zip(end)
        .map(|(start, end)| end.total() - start.total())
        .collect();
    jiffies.sort();
    jiffies[jiffies.len() / 2]
}
// These all should be extremely similar to each other, so just taking the
// middle one should be safe
These all should be extremely similar to each other, so just taking the
middle one should be safe
These all should be extremely similar to each other so just taking the middle one should be safe
fn find_median_jiffies_used(start: &[Calculations], end: &[Calculations]) -> Jiffies {
    let mut jiffies: Vec<_> = start
        .iter()
        .zip(end)
        .map(|(start, end)| end.total() - start.total())
        .collect();
    jiffies.sort();
    jiffies[jiffies.len() / 2]
}
fn find_median_jiffies_used ( start : & [ Calculations ] , end : & [ Calculations ] ) -> Jiffies { let mut jiffies : Vec < _ > = start . iter ( ) . zip ( end ) . map ( | ( start , end ) | end . total ( ) - start . total ( ) ) . collect ( ) ; jiffies . sort ( ) ; jiffies [ jiffies . len ( ) / 2 ] }
These all should be extremely similar to each other, so just taking the
middle one should be safe
These all should be extremely similar to each other so just taking the middle one should be safe
start
&[Calculations]
end
&[Calculations]
start
&[Calculations]
end
&[Calculations]