Chairloader icon indicating copy to clipboard operation
Chairloader copied to clipboard

Lua Global variable lazy-loading

Open thelivingdiamond opened this issue 2 years ago • 0 comments

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

thelivingdiamond avatar May 08 '23 21:05 thelivingdiamond