Lift atom type lookup out of inner loops