Closed richie0866 closed 2 years ago
This is a huge optimization, but it ruins debug traceback. I'd like to migrate to this change fully, so this will be on hold until there's a way to change a chunk's source.
If there's no universally supported way to do this, I'll have two differently-named Project objects for development and production.
This way, it's completely optional, and unhelpful errors would only occur after production, not during development.
Concatenating script sources to a single string and calling
loadstring
on it may be faster than individualloadstring
calls