Post your best Lua script examples here

User avatar
By leo-c
#58411 Hi all,
inspired by post about flashmodule by dpwhittaker (and some lectures about lua internals), I've found a way to minimize memory footprint of modules.

Main trick is to substitute (some or all) functions with small stubs that transparently recall original code previously dump on FS.
Of course, this cause slower executions, but developer can choose which functions to apply this tecnique, and if he want have a time overhead at first use (not loading unused functions) or each time (for minimum memory footprint).

Details can be found on my softmodule GitHub project

Leonardo