Create a function that reverses and reverse-complements a sequence, and optimize the code with an alternative method. Use the function signature reverse_complement(sequence). The input is an uppercase DNA string containing only A, C, G, and T; return its reverse complement as a string.
def reverse_complement(sequence):