You can optimize this by unloading what you do not need and marking the files to not autoload when the app starts and load them yourself using require as required.
Lua executes the code in chunks, so as long as it has memory to load and execute chunks of code, it is fine. However common sense would suggest using the memory for whatever you need rather than dump everything onto it.
Comments
Lua executes the code in chunks, so as long as it has memory to load and execute chunks of code, it is fine. However common sense would suggest using the memory for whatever you need rather than dump everything onto it.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps