An an LRU cache of mapping from name to int.
Used to cache Ordinals of category paths.
It uses as key, hash of the path instead of the path.
This way the cache takes less RAM, but correctness depends on
assuming no collisions.
WARNING: This API is experimental and might change in incompatible ways in the next release.