Faster dictionary enumeration