Optimize the Python program below for making the code more efficient.
def sum_list(list):
    result = 0
    for i in list:
        result += i
    return result
def sum_list(list):
    return sum(list)