Don't calloc when malloc will do fine.
Cache hash values of strings.