Optimize memory usage when accessing the configuration during runtime.