Closed MOARdV closed 6 years ago
I've made several attempts on this. Short of duplicating the entire variable processing stack, just with out evaluators, this isn't happening. The current configuration is probably the most efficient way to do it (single compiled Lua code snippet).
Currently, all actions are registered as lambda functions that call Moonsharp to process the action. Based on the performance of Moonsharp and the garbage allocation overhead, it'd be worthwhile to see if I can apply the parser used for variables to create less expensive 'native' C# code.