Lua optimization tool oLua

oLua is a Lua optimization tool that is better than nothing. Optimization points Optimize Lua table access Optimize Lua table construction Optimize Lua table access For example, the following code: ab = {} if ac then abdata1 = “1” abdata2 = “2” abdata3 = “3” end ab is a table, each Each visit to ab will trigger a table visit, which will affect performance, so it can be optimized as: ab = {} local a_b = ab if ac then a_b.data1 = “1” a_b.data2 = “2” a_b.data3 = ” 3″ end Note: Here do…

#Lua #optimization #tool #oLua


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *