So, I have a function that I have to call a ton of times. That function iterates through a list by pairs like so:
for a, b in zip(the_list, the_list[1:]): #
pairs = list(zip(the_list, the_list[1:])) for a,b in pairs: # etc...