Improved memory efficiency for storing registries