Modify the given Python code to improve its performance.
def find_sum(n):
    total = 0
    for i in range(n+1):
        total += i
    return total
def find_sum(n):
    # base case
    if n == 0:
        return 0
    # recursive case
    else:
        return n + find_sum(n-1)