/*
generic type in rust dun slow code down like python
 */
generic type in rust dun slow code down like python
generic type in rust dun slow code down like python
fn largest_i32(list: &[i32]) -> i32 {
    let mut largest = list[0];
    for &item in list {
        if item > largest {
            largest = item;
        }
    };
    largest
}
fn largest_i32 ( list : & [ i32 ] ) -> i32 { let mut largest = list [ 0 ] ; for & item in list { if item > largest { largest = item ; } } ; largest }
generic type in rust dun slow code down like python
generic type in rust dun slow code down like python
list
&[i32]