lua-aot-5.4
lua-aot-5.4 copied to clipboard
Add `-b` and `-g`, for creating bytecode before compile
Fixes #19
I would have hoped that compiling to bytecode would reduce the binary size. Since it doesn't, maybe it would be simpler to just strip the shebangs from the source string?
I would have hoped that compiling to bytecode would reduce the binary size
it does sometimes, ive had much much better binary sizes with larger files. Another good reason to use bytecode is obsufication. With the string you can get the full lua source which could be not desired.
Also, could you please tell some more about your experience with -b and -g?
- How much space did -b save on larger files?
- How much space did -g save?
- Is it ok to strip debug info by default? Does it affect the stack traces?
Also, could you please tell some more about your experience with -b and -g?
* How much space did -b save on larger files? * How much space did -g save? * Is it ok to strip debug info by default? Does it affect the stack traces?
ill show benchmarks, give me a couple of days