Chairloader
Chairloader copied to clipboard
Lua Global variable lazy-loading
Instead of loading the global variable table into each lua instance, just edit the meta table to allow for lazy loading and caching of values from the config files.
- could implement it such that it just looks up the value from the c++ unordered map
- could also have it such that config variables are loaded and cached on an as-needed basis