lua-users home
lua-l archive

Eleminate unused functions from luac

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I just wonder about
1) I have a module"utils"
 with a lot of helpfull functions
2) I have an application which
 require"utils"
 calls only some to the lot
3) I compile the module and the application to one application.luac
Now I have a lot of code in the luac, which is never called, thus could be eleminated. Is there a tool for this? (Assuming, no function calls are constructed at runtime)
Would it be possible?
Regards

AltStyle によって変換されたページ (->オリジナル) /