try/except vs if key in dict, key in dict is a little faster but should be pretty neglictable here