Faster dictionary lookup