Combining lua bytecodes #711
CrosRoad95
started this conversation in
General
Replies: 1 comment
-
No, each module is currently compiled separately and must be loaded individually by calling luau_load. You can of course merge the source code into a single file, but you can't merge the byte code. Note that right now we don't have a lot of efficiency to gain by doing that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to combine lua bytecodes? example i'm making byte code containing lua functions bound to c++ THEN i'm loading second lua bytecode inside same lua_state.
the goal is to compile common part once, then reuse it in multiple lua states what in case of dozens or hundreds of lua states and 1000+ functions, classes could make a difference ( + maybe it can lower memory usage? )
Beta Was this translation helpful? Give feedback.
All reactions