Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to supply compiled lua bytecode instead of script. #948

Open
eacmen opened this issue Oct 11, 2017 · 0 comments
Open

Allow users to supply compiled lua bytecode instead of script. #948

eacmen opened this issue Oct 11, 2017 · 0 comments

Comments

@eacmen
Copy link
Contributor

eacmen commented Oct 11, 2017

The buffer size for the lua script on the RCP is limited. It would be nice if once a script was developed and proven to work that a user could use luac to strip the debug information and be able to fit more lua code on the RCP.

For example my script is much smaller with debugging info stripped:

0 peter@ld64 /workspace/m3/hpde/rcp-lua$ luac -o gopro_session_multicam.lua.out gopro_session_multicam.lua
0 peter@ld64 /workspace/m3/hpde/rcp-lua$ luac -s -o gopro_session_multicam.lua.out.stripped gopro_session_multicam.lua
0 peter@ld64 /workspace/m3/hpde/rcp-lua$ ls -al *out*
-rw-r--r-- 1 peter peter 9873 Oct 11 11:53 gopro_session_multicam.lua.out
-rw-r--r-- 1 peter peter 4997 Oct 11 11:53 gopro_session_multicam.lua.out.stripped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant