rhai icon indicating copy to clipboard operation
rhai copied to clipboard

Pre-compile scripts?

Open VinnyVicious opened this issue 2 months ago • 6 comments

Would it be possible to pre-compile rhai scripts used in an application and bundle them with the application? The reason I ask is due to the fact that performance is not great (compared to our current implementation with C++ and LuaJIT), but there are clear advantages in our project by moving to Rust/Rhai. If pre-compiling was a possibility, then I'm sure speed would be much better.

VinnyVicious avatar Apr 26 '24 14:04 VinnyVicious