Speed up symbol lookup by using hash has major key.